Questions tagged [resolv.conf]

/etc/resolv.conf contains Domain Name System(DNS) related configuration information on Unix systems.

146 questions
0
votes
1 answer

Is `127.0.0.1` a special token for Ubuntu 14 LTS `resolvconf` when DHCP pushes DNS settings?

Dear Linux Graybeards, Is 127.0.0.1 a magic token for resolvconf in Ubuntu 14 LTS when using DNS settings pushed by DHCP? I'm using Ubuntu 14.0.3 (LTS) in AWS (ami-0f8bce65) with custom DNS settings in my VPC's DHCP Options. I can push multiple DNS…
0
votes
1 answer

How to automatically add localhost DNS server (dnsmasq) to resolv.conf

I did the steps at https://wiki.archlinux.org/index.php/OpenVPN#DNS to set up DNS with OpenVPN so that anytime the OpenVPN connects or disconnects, it automatically updates /etc/resolv.conf. The problem is that I've also got a DNS server (dnsmasq)…
user779159
  • 395
  • 1
  • 5
  • 10
0
votes
0 answers

Sendmail has stopped working after editing resolv.conf. Why?

I previously resolved an issue with upstream timeout errors by changing the nameservers in my resolv.conf to Google's nameservers. While the upstream timeout and 504 errors were sorted by doing this, now sendmail refuses to "sendmail". Testing…
Adrian
  • 67
  • 3
  • 8
0
votes
0 answers

tcpdump returns no multicast traffic when a DNS entry is being used in resolv.conf

I have noticed on a 6.5 Centos host that when I am using tcpdump to determine if a multicast source is being received/ sent that it does appear to get any results when I have a DNS registered in the /etc/resolv.conf if I comment the DNS entry it…
adamjth
  • 11
  • 1
  • 3
0
votes
1 answer

Debian 6 Not resolving hostnames

Regards, I've run into the following issue recently following an intrusion in to my VPS: Although resolv.conf is properly configured with the correct DNS servers the VPS can not resolve hosts. I can: Ping the DNS Servers just fine I can ping based…
Entity_Razer
  • 475
  • 1
  • 5
  • 17
0
votes
3 answers

What does it mean if one of the IP-addresses in my resolve.conf times out?

Someone is helping me resolve a response time issue on my VPS. He suggested I look in my resolv.conf and make sure neither of the IPs are timing out. My resolve.conf looks like this: nameserver 69.39.86.5 nameserver 69.39.89.9 when I do a nslookup…
Edward Tanguay
  • 1,209
  • 4
  • 22
  • 31
0
votes
1 answer

Can winbind influence name resolution in Linux

I have to Linux boxes on vagrant, the have the same /etc/resolv.conf and /etc/hosts, but one is using winbind to do SSO with Active Directory. When I try to resolve the domain controllers with: dig SRV _ldap._tcp.wonga.com on the server with…
rtacconi
  • 745
  • 4
  • 14
  • 28
0
votes
1 answer

dhcp dns not resolving queries

I having been working through a lot issues with a setup and I reached another where I may have been staring at it for too long to see the issue. The server is reachable from the outside world. Postfix can receive but cannot send. This is due to a…
MasterJohn
  • 79
  • 7
0
votes
1 answer

Get local and remote (via VPN) DNS names to resolve

Here's the scenario: Network 1 has its own DNS server, and does a great job of resolving local network names, its also set as a caching server, so it will resolve names out on the general internet. So far so simple. I addition to that I can…
GeoSword
  • 1,657
  • 12
  • 16
0
votes
3 answers

Preferred way to add a new name server to a host in Red Hat or CentOS

I am managing a particular host machine, and I would like to locally add a new name server for it to query (i.e. not changing its name server settings via the dhcp server). It seems that there are multiple ways to add a new name server. Adding a…
ChaimKut
  • 191
  • 4
  • 9
0
votes
1 answer

DNS resolv conf issue - DNS doesn't resolve for certain internal addresses despite several name servers listed that can resolve

I am running ubuntu 12.10 desktop edition. I am having and issue with my DNS not resolving certain internal names on our network. We run 3 internal DNS servers. Originally the 1st one (192.168.6.1) had the other 2 servers set as upstream, but now…
Jason
  • 361
  • 7
  • 19
0
votes
1 answer

editing /etc/resolv.conf with setup

I'm editing /etc/resolv.conf with the 'setup' utility and reboot my Redhat machine. I add two nameservers and a search. When I cat the resolv.conf file, I see search is placed on the bottom of the file. In all examples I've seen, the search is at…
0
votes
1 answer

Running Aptitude / apt-get resets archive lookup address

Having a problem updating ubuntu 12.04.02 lts box using aptitude - seems that the dns lookup value is getting changed somehow whenever I run aptitude or apt-get . Example: a clean reboot: me@server:~# ping us.archive.ubuntu.com PING…
jimg
  • 262
  • 4
  • 15
0
votes
2 answers

I cannot telnet www.google.com 80 on my centos, why?

On my centos I have a problem. I cannot: [root@server]# telnet www.google.com 80 telnet: www.google.com: Name or service not known www.google.com: Unknown server error [root@server]# However I can dig google.com [root@server]# dig…
Phil
  • 265
  • 2
  • 6
  • 13
0
votes
2 answers

using one of 2 DNSs differentiated by requested domain

I'm using some sort of a dns-proxy service (the details aren't clear but as far as I understand it works by resolving the the domain into a cloud based proxy server and returning it's address whilst configuring it to forward my requests to the…