snippetbashTip
resolvconf — Manage nameserver information. Acts as an intermediary between programs that supply nameserver infor
Viewed 0 times
resolvconfactscommandnameserverclimanageinformationintermediary
Problem
How to use the
resolvconf command: Manage nameserver information. Acts as an intermediary between programs that supply nameserver information and applications that use this information. This page documents Debian's implementation of resolvconf. More information: <https://manned.org/resolvconf>.Solution
resolvconf — Manage nameserver information. Acts as an intermediary between programs that supply nameserver information and applications that use this information. This page documents Debian's implementation of resolvconf. More information: <https://manned.org/resolvconf>.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 -uSet the flag indicating whether
resolvconf should run update scripts when invoked with -a, -d, or -u:resolvconf --enable-updatesClear the flag indicating whether to run updates:
resolvconf --disable-updatesCheck whether updates are enabled:
resolvconf --updates-are-enabledCode Snippets
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 -uSet the flag indicating whether `resolvconf` should run update scripts when invoked with `-a`, `-d`, or `-u`
resolvconf --enable-updatesClear the flag indicating whether to run updates
resolvconf --disable-updatesContext
tldr-pages: common/resolvconf
Revisions (0)
No revisions yet.