<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/op-mode-definitions/dns-forwarding.xml.in, branch feature/T9082-codeql-cpp</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=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2025-05-16T11:39:44+00:00</updated>
<entry>
<title>op-mode: T7459: eliminate direct use of sudo in op mode commands</title>
<updated>2025-05-16T11:39:44+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2025-05-16T11:39:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=6b562aae240927c14f629b9307583013bc3a9008'/>
<id>urn:sha1:6b562aae240927c14f629b9307583013bc3a9008</id>
<content type='text'>
</content>
</entry>
<entry>
<title>op-mode: T6577: create generic service restart helper to work with the API</title>
<updated>2024-07-16T19:29:39+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-07-16T19:28:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c74ae852152b0c3c3f00a1847d081d28f500e178'/>
<id>urn:sha1:c74ae852152b0c3c3f00a1847d081d28f500e178</id>
<content type='text'>
Right now we have multiple restart helpers (e.g. dhcp server, ssh, ntp) that
all do the same (more or less):

* Check if service is configured on CLI
* Restart if configured
* Error out if unconfigured

This is not available via the op-mode API. Create a new restart.py op-mode
helper that takes the service name and possible VRF as argument so it's also
exposed via API.
</content>
</entry>
<entry>
<title>ddclient: T5966: Streamline dynamic dns op-mode configuration</title>
<updated>2024-01-22T06:54:34+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2024-01-20T05:47:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2080f8edd69cdf7eed4bcfb739e68300faf0681f'/>
<id>urn:sha1:2080f8edd69cdf7eed4bcfb739e68300faf0681f</id>
<content type='text'>
Update op-mode for dynamic dns to standardize on `vyos.opmode`. All
methods of `op_mode/dns_dynamic.py` are now available in standardized
`op_mode/dns.py`.

Move op-mode command `update dns dynamic` to `reset dns dynamic` to
reflect that it is not an update but a reset of the dynamic dns service.

Also, make the help texts more consistent for all op-mode commands for
`dns dynamic` and `dns forwarding`.
</content>
</entry>
<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>dns: T5144: Adjust DNS related CLI help messages for consistency</title>
<updated>2023-06-09T16:06:52+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-06-09T15:59:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3c7c3b6cb08ffb5e177b10594281af8153c7e29c'/>
<id>urn:sha1:3c7c3b6cb08ffb5e177b10594281af8153c7e29c</id>
<content type='text'>
This should make the help messages more consistent for DNS related
CLI subtree.
</content>
</entry>
<entry>
<title>dns: op-mode: T2488: drop invalid "monitor dns forwarding" command</title>
<updated>2022-08-30T15:38:18+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-08-30T15:26:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a7fba75a06ef6a9551a1246cc3168a1999347e13'/>
<id>urn:sha1:a7fba75a06ef6a9551a1246cc3168a1999347e13</id>
<content type='text'>
The CLI command was a duplicate of the "show dns forwarding" command and did
not follow or re-trigger the commadn to watch it. It produced 1:1 the same
output as "show dns forwarding".
</content>
</entry>
<entry>
<title>dns-forwarding: T4578: Rewrite show dns forwarding</title>
<updated>2022-07-30T13:37:46+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-07-30T13:32:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=66288ccfee9949aa1227f6a52efd2fbe9030d5fb'/>
<id>urn:sha1:66288ccfee9949aa1227f6a52efd2fbe9030d5fb</id>
<content type='text'>
Rewrite op-mode "show dns forwarding statistics" to new format
Use vyos.opmode format
</content>
</entry>
<entry>
<title>dns: op-mode: T2488: retrieve log info from journalctl</title>
<updated>2022-07-07T10:37:45+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-07-07T10:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=97eb86c4866d5f7777e525f5eba1c1c3da3b67c8'/>
<id>urn:sha1:97eb86c4866d5f7777e525f5eba1c1c3da3b67c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>xml: op-mode: remove multiple "Reset a service" help definitions</title>
<updated>2021-08-22T18:41:19+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-08-22T18:41:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=536991d0c6f305256ce6ab5975d15116f027b7b6'/>
<id>urn:sha1:536991d0c6f305256ce6ab5975d15116f027b7b6</id>
<content type='text'>
That nasty workaround to always specify the same value for the node.def file
as the help text is no longer necessary after commit 17b5ac14 ("T3165: op-mode:
prevent override of populated node.def file with empty content".

The redundant definitions are no longer necessary.
</content>
</entry>
<entry>
<title>op-mode: restart: cleanup help strings</title>
<updated>2021-01-15T20:57:08+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-01-15T20:57:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=56ec3259b67c6441d992948a8bae95039194eb6c'/>
<id>urn:sha1:56ec3259b67c6441d992948a8bae95039194eb6c</id>
<content type='text'>
</content>
</entry>
</feed>
