From 10cddcf55c8660b354ce015c71d9aefc6d07f87d Mon Sep 17 00:00:00 2001 From: DEBADRIBASAK <32904247+DEBADRIBASAK@users.noreply.github.com> Date: Sat, 7 Oct 2023 21:21:40 +0530 Subject: [PATCH] resolvconf: add page (#10780) * Adding page for resolvconf command * Added trailing newline that was causing test failure * Added additional information on the command. * Added additional information on the command. * Removed the postconf file. * addressed comments --- pages/common/resolvconf.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pages/common/resolvconf.md diff --git a/pages/common/resolvconf.md b/pages/common/resolvconf.md new file mode 100644 index 0000000000..d74ced7ff7 --- /dev/null +++ b/pages/common/resolvconf.md @@ -0,0 +1,30 @@ +# resolvconf + +> Manage nameserver information. +> Acts as an intermediary between programs that supply nameserver information and applications that use this information. +> This tldr documents Debian's implementation of resolvconf. +> More information: . + +- Add or override the IFACE.PROG record and run the update scripts if updating is enabled: + +`resolvconf -a {{IFACE.PROG}}` + +- Delete the IFACE.PROG record and run the update scripts if updating is enabled: + +`resolvconf -d {{IFACR.PROG}}` + +- Just run the update scripts if updating is enabled: + +`resolvconf -u` + +- Set the flag indicating whether `resolvconf` should run update scripts when invoked with `-a`, `-d` or `-u`: + +`resolvconf --enable-updates` + +- Clear the flag indicating whether to run updates: + +`resolvconf --disable-updates` + +- Check whether updates are enabled: + +`resolvconf --updates-are-enabled`