/etc/resolv.conf contains Domain Name System(DNS) related configuration information on Unix systems.
Questions tagged [resolv.conf]
146 questions
1
vote
1 answer
Is it necessary to set a different ttl before change a Route53 DNS record value?
The first time create the Route53 DNS record with a load balancer origin DNS name with ttl 1 day.
After some days, we want to change the value to another load balancer origin DNS name. Do we need to set the target DNS record's ttl to a short time…

freetimetime
- 15
- 3
1
vote
0 answers
ping: example.org: No address associated with hostname
I am facing a problem I cannot explain:
If I do
ping example.org
I am getting the result
ping: example.org: No address associated with hostname
dig returns an empty result:
dig example.org
; <<>> DiG 9.16.1-Ubuntu <<>> example.org
;; global…

SPQRInc
- 151
- 1
- 5
0
votes
1 answer
Fedora network configuration
I've got a Fedora 31 instance configured with an IPv6 stack and that has join an IPA domain.
I've activated the IPv6 stack by editing /etc/sysconfig/network-scripts/ifcfg-eth0
Added…

coolnodje
- 233
- 1
- 3
- 8
0
votes
0 answers
HAProxy resolver doesn't work : could not resolve address
I'm on Ubuntu 16.04; I set up HAProxy as an entrypoint to services defined by domain names; those domain names are served by a DNS server (coredns) in the same machine (or VLAN network).
Using nslookup or dig utilities, we obtain the name…

Agdmoun khalid
- 1
- 1
- 2
0
votes
1 answer
Resolving CoreDNS Loop Error
I am trying to resolve a loop error with CoreDNS as part of a 2-node Kubernetes cluster. The issue is thoroughly documented (below), but I am not strong on dns and networking so am having trouble working through it.
Core DNS doco:…

Bryon
- 131
- 3
0
votes
1 answer
Using custom DNS in VPN to resolv domains to different server
What I have is simple but I got a VPN issue that I don't know how to solve. In general I want to route public domains differently within a VPN. See the current role of a Debian host:
A public available foo.example.com with HTTPS served by a reverse…

Cornfused
- 1
- 1
0
votes
1 answer
Using custom etc/resolv.conf for deployed virtual servers?
Saw that cloudflare is now powering their own set of DNS servers https://developers.cloudflare.com/1.1.1.1/setting-up-1.1.1.1/linux/
We are running a couple dozen debian systems.
Anyone used a custom etc/resolv.conf on server deployments? Is it…

dlrust
- 715
- 2
- 8
- 12
0
votes
1 answer
Why are my dns options specified in /etc/network/interfaces not parsed by resolvconf?
I have a Ubuntu 14.04 server which has two IP addresses specified on a single interface. They are defined in /etc/network/interfaces like so:
auto em1
iface em1 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1
…

Carcer
- 957
- 6
- 12
0
votes
1 answer
What is the diff between resolv.conf and named.conf forwarders?
As I have been troubleshooting the DNS creation process in Ubuntu I have noticed that the following files appear redundant:
etc/bind/named.conf.options (or a section of named.conf depending on how your files are set up)
forwarders {
1.2.3.4;
…

storm
- 89
- 2
- 3
- 12
0
votes
3 answers
Resolv.conf reset automatically after reboot to the wrong dns
With my ubuntu 16.04, my /etc/resolv.conf change every system start
cat /etc/resolv.conf
nameserver 127.0.0.1
Network-manager have the correct dns name server 192.168.1.1
I removed bind9 and all related packages.
No special config on rc folders…

M. BY
- 21
- 1
- 4
0
votes
1 answer
I'm trying to ascertain how is my Networkmanager receives specific name server information- possibly Cobbler related
When I:
cat /etc/resolve.conf
I see:
# Generated by NetworkManager
nameserver 10.100.48.19
nameserver 10.100.48.17
When I change this info then reboot, the original information returns.
I'm trying to work out where these specific addresses are…

treetop
- 51
- 7
0
votes
0 answers
Unkown File permissions for /etc/resolv.conf
I am unable to ping any url (for example www.google.com), neither any of the website is working. However, I can ping static IPs (E.g. 8.8.8.8). A little debugging showed that the issue is /etc/resolv.conf file which got corrupted. It has very…

Waqas
- 131
- 3
0
votes
1 answer
resolvconf coupled with dnsmasq and lxd
Q: How do I programmatically add a persistent resolvconf entry for my lxd based dnsmasq?
I have a very base installation of Ubuntu 16.04 server.
I have installed and configured lxd and created a container.
lxd lxd/bridge-domain string lxd
#…

stevemarvell
- 131
- 5
0
votes
0 answers
RHEL resolv.conf search domains ordering constraints?
I can't seem to find anything (Google, man pages) on what the order of the search line should be used when searching for a host against DNS with multiple levels of subdomains.
host and dig work properly and will work regardless, however when…

Nick R
- 183
- 1
- 5
0
votes
1 answer
Debian Remove a Line from Resolv.conf
I was trying to change the Google DNS servers to OpenDNS in my resolv.conf file and accidentally added them incorrectly. Now my resolv.conf file looks like this:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO…

Nick
- 197
- 4
- 11