mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-25 11:35:24 +02:00
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
This commit is contained in:
parent
5b971af23d
commit
10cddcf55c
1 changed files with 30 additions and 0 deletions
30
pages/common/resolvconf.md
Normal file
30
pages/common/resolvconf.md
Normal file
|
@ -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: <https://manpages.ubuntu.com/manpages/resolvconf.8.html>.
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue