I tried adding
dns-domain domain.com
to /etc/network/interfaces with no luck. When I run
hostname -d
I get an empty string
I tried adding
dns-domain domain.com
to /etc/network/interfaces with no luck. When I run
hostname -d
I get an empty string
I have finally migrated to 12.04 from 7.10. I have one last part to complete but I am stumped. I am using Puppet on each server, and in the past I have included a nameserver address and a search domain name for the puppetmaster in resolv.conf.
search puppetmaster.com
nameserver 192.168.1.XXX
In 12.04 resolv.conf gets overwritten when rebooted. I cannot use a static IP for these, so using the /etc/network/interfaces to help me out is a nill point.
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
Is there a way to get resolvconf to handle this either in the head, tail or base? If there is, are there any examples I can use to tweak on my server.
Any help is much appreciated.
I recently upgraded from 11.10
to 12.04
, and now NetworkManager
isn't populating /etc/resolv.conf
when connecting to wireless networks, when it had been working perfectly in 11.10
. I'm not seeing any explicit errors in either the NetworkManager
, UI
or in syslog
. How do I diagnose what's wrong?
Edit: If I try to run resolvconf
, I get the error
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
What should it be, a symlink
to and/or how do I get NetworkManager
to populate it? This says the symlink
should point to /run/resolvconf/resolv.conf
, but that file does not exist on my system.
I deleted both the resolvconf
folder and the resolv.conf
file in /etc
by mistake, assuming that resolvconf was causing UCK to fail. Now the application has upgraded, fixing the issue, but it says no file named resolv.conf in /etc
.
What it says is correct because I deleted those files. Is there any way to recreate the files or restore from another location?
Is /etc/resolv.conf
useless in Ubuntu 12.04 LTS (Precise Pangolin)?
I see that the DNS server information is stored in NetworkManager now. The nmcli
command line tool can list that for you.
If I want to add one more DNS server, will adding it to /etc/resolv.conf
by using the resolvconf
package help?