This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:host_dns [2024/02/24 13:44] – [DNS-Server] tmade | linux:host_dns [2024/02/24 14:01] – [DNS-/ DHCP] tmade | ||
---|---|---|---|
Line 38: | Line 38: | ||
==== DNS-/ DHCP ==== | ==== DNS-/ DHCP ==== | ||
- | 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, |