<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/op_mode/dns_forwarding_reset.py, branch rolling</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-01-21T19:29:25+00:00</updated>
<entry>
<title>dns: T5959: Streamline dns forwarding service</title>
<updated>2024-01-21T19:29:25+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-12-30T00:21:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1c1fb5fb4bd7c0d205b28caf90357ad56423464f'/>
<id>urn:sha1:1c1fb5fb4bd7c0d205b28caf90357ad56423464f</id>
<content type='text'>
Streamline configuration and operation of dns forwarding service in
following ways:

- Remove `dns_forwarding_reset.py` as its functionality is now covered
  by `dns.py`
- Adjust function names in `dns.py` to disambiguate between DNS
  forwarding and dynamic DNS
- Remove `dns_forwarding_restart.sh` as its functionality is inlined in
  `dns-forwarding.xml`
- Templatize systemd override for `pdns-recursor.service` and move the
  generated override files in /run. This ensures that the override files
  are always generated afresh after boot
- Simplify the systemd override file by removing the redundant overrides
- Relocate configuration path for pdns-recursor to `/run/pdns-recursor`
  and utilize the `RuntimeDirectory` default that pdns-recursor expects
- We do not need to use custom `--socket-dir` path anymore, the default
  path (viz., `/run/pdns-recursor` is fine)
</content>
</entry>
<entry>
<title>T5195: vyos.util -&gt; vyos.utils package refactoring (#2093)</title>
<updated>2023-07-14T20:18:36+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-14T20:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1ca536da448749dff557f13ecae97b124026e96'/>
<id>urn:sha1:d1ca536da448749dff557f13ecae97b124026e96</id>
<content type='text'>
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process

* T5195: use read_file and write_file implementation from vyos.utils.file

Changed code automatically using:

find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} +
find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} +

* T5195: move chmod* helpers to vyos.utils.permission

* T5195: use colon_separated_to_dict from vyos.utils.dict

* T5195: move is_systemd_service_* to vyos.utils.process

* T5195: fix boot issues with missing imports

* T5195: move dict_search_* helpers to vyos.utils.dict

* T5195: move network helpers to vyos.utils.network

* T5195: move commit_* helpers to vyos.utils.commit

* T5195: move user I/O helpers to vyos.utils.io</content>
</entry>
<entry>
<title>dns-forwarding: T2298: fix path to control file</title>
<updated>2020-04-15T20:03:09+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-15T20:03:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=16b2fc8fc4cae96f027e036f259c10dc793bf5e5'/>
<id>urn:sha1:16b2fc8fc4cae96f027e036f259c10dc793bf5e5</id>
<content type='text'>
After migrating PowerDNS to systemd and also its configuration files to a
volatile directory in commit 77d725f ("dns-forwarding: T2185: move configuration
files to volatile /run directory") the path for the control file has not
been altered and pushed to the client rec_control binary"
</content>
</entry>
<entry>
<title>util: T2226: os.system was wrongly converted to run</title>
<updated>2020-04-09T18:08:24+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-04-09T18:08:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9875a21bdb26df19f2faf3e81153dea15e4f9e3c'/>
<id>urn:sha1:9875a21bdb26df19f2faf3e81153dea15e4f9e3c</id>
<content type='text'>
os.system does print the ouput of the command, run() does not.
A new function called call() does the printing and return the error code.</content>
</entry>
<entry>
<title>op-mode: dns: forwarding: cleanup</title>
<updated>2020-04-08T18:36:30+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-08T18:35:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c497007369bf53aa99399a9ede4b52fc2d50b563'/>
<id>urn:sha1:c497007369bf53aa99399a9ede4b52fc2d50b563</id>
<content type='text'>
</content>
</entry>
<entry>
<title>util: T2226: covert most calls from os.system to util</title>
<updated>2020-04-06T19:22:35+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-04-05T13:36:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=aceb0817a65bf01669cada3ceb60d65b81607bc3'/>
<id>urn:sha1:aceb0817a65bf01669cada3ceb60d65b81607bc3</id>
<content type='text'>
As little change a possible but the function call
The behaviour should be totally unchanged.
</content>
</entry>
<entry>
<title>T603: complete the reset dns forwarding command.</title>
<updated>2018-05-20T12:12:09+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2018-05-20T12:12:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=8c459924e2e9532ef0ec869615162fc6cd0e3a5f'/>
<id>urn:sha1:8c459924e2e9532ef0ec869615162fc6cd0e3a5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T564: a command to reset DNS forwarding cache for a domain and better checking for unconfigured service.</title>
<updated>2018-05-19T16:05:35+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2018-05-19T16:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c7a5a84eaaa072d681f98b228c44043d0345f6c0'/>
<id>urn:sha1:c7a5a84eaaa072d681f98b228c44043d0345f6c0</id>
<content type='text'>
</content>
</entry>
</feed>
