This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:host_dns [2015/01/23 11:45] – [DNS] tmade | linux:host_dns [2024/02/24 14:01] (current) – [DNS-/ DHCP] tmade | ||
---|---|---|---|
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, |