DNS problems on CentOS fresh install

Asked By 10 points N/A Posted on -
qa-featured

I'm having some DNS issues on a new box I'm installing with CentOS 6.2. I am able to look up names using nslookup, dig, or host. I am able to ping machines by name or by IP address. However, when I try other tools, such as ssh, wget, or yum, they are unable to resolve names. What should I do?

SHARE
Answered By 0 points N/A #142119

DNS problems on CentOS fresh install

qa-featured

Hello,

First and foremost, please end up the firewall process and always does this whenever you are troubleshooting or having issues with the network. I would like to recommend you to try on these several ways.

1. Type iptables-L to check whether the firewall has already been stopped properly. Your input should look like this :

[[email protected] ~]# iptables -L

Chain INPUT (policy ACCEPT)

target prompt opt source destination

Chain FORWARD (policy ACCEPT)

target prompt opt source destination

Chain OUTPUT (policy ACCEPT)

target prompt opt source destination

[[email protected] ~]#

2. Type (/etc/selinux/config) to check whether the selinux is running properly or having any strange activity.

3. Please type route-n and check the output given.

4. Type /etc/sysconfig/network-scripts/ifcfg-eth0 and see what is the result.

5. Try to ping your gateway and check whether is there any issues raised or not.

I hope you can diagnose the issue with few clues given.

Login/Register to Answer

Related Questions