Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

System and Network configuration • Re: Trouble configuring DNS with Debian 12 for host names in local domain

$
0
0
Thank you that definitely gave me enough to go on.
It seems that if no DNS entry is defined in /etc/network/interfaces then it will fallback to the DNS provided by DHCP if available.
The following ended up working for me and could easily be added to the Vagrant provisioning script

Code:

sed -i '/dns-.*/d' /etc/network/interfacesifdown eth0 && ifup eth0

Statistics: Posted by Chronocide0 — 2025-01-15 04:15



Viewing all articles
Browse latest Browse all 2849

Trending Articles