This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:host_dns [2013/01/02 19:28] – tmade | linux:host_dns [2024/02/24 14:01] (current) – [DNS-/ DHCP] tmade | ||
---|---|---|---|
Line 18: | Line 18: | ||
/ | / | ||
- | DNS Service on Linux: | + | DNS-Name-Cache-Daemon |
nscd | nscd | ||
| | ||
Line 25: | Line 25: | ||
< | < | ||
#DNS-SUFFIX for DNS resolving | #DNS-SUFFIX for DNS resolving | ||
- | domain | + | search |
#List of nameservers to add | #List of nameservers to add | ||
Line 36: | Line 36: | ||
[[Linux: | [[Linux: | ||
| | ||
+ | ==== DNS-/ DHCP / dhclient.conf==== | ||
+ | If you want to **override** the DNS servers **provided by DHCP entirely** and force the system to use the ones you provide, use the **supersede** entry: | ||
+ | |||
+ | / | ||
+ | supersede domain-name-servers 127.0.0.1; | ||
+ | supersede domain-name-servers 12.34.56.78, | ||
+ | < | ||
+ | cat / | ||
+ | nameserver 127.0.0.1 | ||
+ | </ | ||
+ | |||
+ | " | ||
+ | |||
+ | prepend domain-name-servers 12.34.56.78, |