mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 18:55:34 +02:00
named: add page (#4645)
This commit is contained in:
parent
dbd00033b5
commit
0684b3a7cb
1 changed files with 24 additions and 0 deletions
24
pages/linux/named.md
Normal file
24
pages/linux/named.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# named
|
||||||
|
|
||||||
|
> Execute the DNS (Dynamic Name Service) server daemon that converts host names to IP addresses and vice versa.
|
||||||
|
> More information: <https://linux.die.net/man/8/named>.
|
||||||
|
|
||||||
|
- Read the default configuration file `/etc/named.conf`, read any initial data and listen for queries:
|
||||||
|
|
||||||
|
`named`
|
||||||
|
|
||||||
|
- Read a custom configuration file:
|
||||||
|
|
||||||
|
`named -c {{path/to/named.conf}}`
|
||||||
|
|
||||||
|
- Use IPv4 or IPv6 only, even if the host machine is capable of utilising other protocols:
|
||||||
|
|
||||||
|
`named {{-4|-6}}`
|
||||||
|
|
||||||
|
- Listen for queries on a specific port instead of the default port `53`:
|
||||||
|
|
||||||
|
`named -p {{port}}`
|
||||||
|
|
||||||
|
- Run the server in the foreground and do not daemonize:
|
||||||
|
|
||||||
|
`named -f`
|
Loading…
Add table
Reference in a new issue