[network-admin] needs dns-nameservers line in /etc/network/interfaces for static IPs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-system-tools (Ubuntu) |
Invalid
|
Wishlist
|
Basilio Kublik |
Bug Description
When you use network-admin to enter a static IP, the entries you enter in the
DNS section seem to be put into /etc/resolv.conf -- at the moment, everything
looks fine and works.
But upon reboot, resolvconf of course overwrites /etc/resolv.conf
I believe the correct behavior is for network-admin to place these lines in
/etc/network/
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1
It already correctly puts in the iface/address/
missing the dns-nameservers line. By putting in that last line, a reboot won't
have resolvconf overwriting /etc/resolv.conf with nothing.
p.s. Maybe also have it put in a broadcast line, but not as crucial...
Changed in gnome-system-tools: | |
status: | Unconfirmed → Confirmed |
I can confirm that my manually set DNS server in network settings dissappears interfaces is also missing that
after each reboot. My /etc/network/
dns-nameservers line.