2020-10-14 23:02:52 +01:00
|
|
|
# named
|
|
|
|
|
|
|
|
> Execute the DNS (Dynamic Name Service) server daemon that converts host names to IP addresses and vice versa.
|
2021-04-16 15:42:14 +01:00
|
|
|
> More information: <https://manned.org/named>.
|
2020-10-14 23:02:52 +01:00
|
|
|
|
|
|
|
- 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}}`
|
|
|
|
|
2021-01-31 17:05:18 +00:00
|
|
|
- Listen for queries on a specific port instead of the default port 53:
|
2020-10-14 23:02:52 +01:00
|
|
|
|
|
|
|
`named -p {{port}}`
|
|
|
|
|
|
|
|
- Run the server in the foreground and do not daemonize:
|
|
|
|
|
|
|
|
`named -f`
|