[SOLVED] DNS ISSUE - Dig is ok but ping packats RX is 0

Issues related to configuring your network
User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: DNS ISSUE - Dig is ok but ping packats RX is 0

Post by TrevorH » 2015/07/04 18:03:12

DNS has nothing to do with routing. You can have a DNS server that does routing if it's set up to do so but most are not. Your router should be the default route, not your DNS server. If you send packets to your DNS server then it will just discard them as it won't know what to do with them (unless it's set up to do routing as well).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

liammeister
Posts: 7
Joined: 2015/07/02 20:22:53

Re: DNS ISSUE - Dig is ok but ping packats RX is 0

Post by liammeister » 2015/07/05 15:48:06

gerald_clark wrote:Your DHCP server is misconfigured.
It defines the gateway and nameservers for DHCP clients.
My vm's are running on static IP and dhclient isn't running either. any idea how to work around making persistent resolv.conf entries for nameservers?

thanks,
liammeister

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: DNS ISSUE - Dig is ok but ping packats RX is 0

Post by gerald_clark » 2015/07/05 16:16:05

/etc/resolv.conf does not get overwritten unless
1. Your vmware somehow changes it.
2. You are using dhcp.
3. You have configured DNS servers in your ifcfg files.
Show us your ifcfg files.

liammeister
Posts: 7
Joined: 2015/07/02 20:22:53

Re:[SOLVED] DNS ISSUE - Dig is ok but ping packats RX is 0

Post by liammeister » 2015/07/05 16:21:09

My nameservers in resolv.conf is now persistent after i manually add the nameservers via the gui in Network Connections -> etho -> ipv4 (edit) -> DNS Servers

:D
liammeister

Post Reply