This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:host_dns [2024/02/24 13:44] – [DNS-Server] tmade | linux:host_dns [2024/02/24 14:01] (current) – [DNS-/ DHCP] tmade | ||
---|---|---|---|
Line 36: | Line 36: | ||
[[Linux: | [[Linux: | ||
| | ||
- | ==== DNS-/ DHCP ==== | + | ==== 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: | + | 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 127.0.0.1; | ||
+ | supersede domain-name-servers 12.34.56.78, | ||
< | < | ||
cat / | cat / | ||
nameserver 127.0.0.1 | nameserver 127.0.0.1 | ||
</ | </ | ||
+ | |||
+ | " | ||
+ | |||
+ | prepend domain-name-servers 12.34.56.78, |