;; connection timed out; no servers could be reached
nslookup google.com
;; connection timed out; no servers could be reached
I didn't observe any UDP/TCP packets during dig and nslookup either
cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 208.67.220.220
nameserver 208.67.222.222
Also my /etc/nsswitch.conf is in order and contains the "hosts: files dns" entry.
What could be wrong?
--
Best Regards,
Gaurav
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
03-08-2010, 04:38 AM
Rajagopal Swaminathan
Centos 5.4 DNS resolution issue
Greetings,
On Mon, Mar 8, 2010 at 11:04 AM, Gaurav Nangla <gaurav.knangla@gmail.com> wrote:
> I can ping the google.com ip addresses (209.85.231.104) but can't ping the
> FQDN, obviously DNS is broken.
>
> I can also ping the nameserver ip addresses specified in /etc/resolv.conf.
>
Just a thought: why don't you try google nameserver 8.8.8.8 in
resolv.conf as the only server.
Regards,
Rajagopal
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
03-08-2010, 04:49 AM
John R Pierce
Centos 5.4 DNS resolution issue
Gaurav Nangla wrote:
> I can ping the google.com <http://google.com> ip addresses
> (209.85.231.104) but can't ping the FQDN, obviously DNS is broken.
>
> I can also ping the nameserver ip addresses specified in /etc/resolv.conf.
well, the DNS servers given by your resolv.conf output seem valid from
here.. I recommend doing some more debugging with `host` or similar DNS
diagnostic tools.
note regular DNS lookups like these tend to use UDP rather than TCP, if
you're behind a NAT firewall which doesn't allow outbound udp port 53
and connection track the response, then things might not work well.
google.com has address 74.125.19.105
google.com has address 74.125.19.99
google.com has address 74.125.19.103
google.com has address 74.125.19.106
google.com has address 74.125.19.147
google.com has address 74.125.19.104
google.com mail is handled by 400 google.com.s9b2.psmtp.com.
google.com mail is handled by 200 google.com.s9a2.psmtp.com.
google.com mail is handled by 300 google.com.s9b1.psmtp.com.
google.com mail is handled by 100 google.com.s9a1.psmtp.com.
google.com has address 74.125.19.105
google.com has address 74.125.19.147
google.com has address 74.125.19.99
google.com has address 74.125.19.103
google.com has address 74.125.19.104
google.com has address 74.125.19.106
google.com mail is handled by 400 google.com.s9b2.psmtp.com.
google.com mail is handled by 200 google.com.s9a2.psmtp.com.
google.com mail is handled by 300 google.com.s9b1.psmtp.com.
google.com mail is handled by 100 google.com.s9a1.psmtp.com.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
03-08-2010, 10:51 AM
Pitshou Asingalembi
Centos 5.4 DNS resolution issue
John R Pierce wrote:
> Gaurav Nangla wrote:
>
>> I can ping the google.com <http://google.com> ip addresses
>> (209.85.231.104) but can't ping the FQDN, obviously DNS is broken.
>>
>> I can also ping the nameserver ip addresses specified in /etc/resolv.conf.
>>
>
> well, the DNS servers given by your resolv.conf output seem valid from
> here.. I recommend doing some more debugging with `host` or similar DNS
> diagnostic tools.
>
> note regular DNS lookups like these tend to use UDP rather than TCP, if
> you're behind a NAT firewall which doesn't allow outbound udp port 53
> and connection track the response, then things might not work well.
>
>
> $ host google.com 208.67.220.220
> Using domain server:
> Name: 208.67.220.220
> Address: 208.67.220.220#53
> Aliases:
>
> google.com has address 74.125.19.105
> google.com has address 74.125.19.99
> google.com has address 74.125.19.103
> google.com has address 74.125.19.106
> google.com has address 74.125.19.147
> google.com has address 74.125.19.104
> google.com mail is handled by 400 google.com.s9b2.psmtp.com.
> google.com mail is handled by 200 google.com.s9a2.psmtp.com.
> google.com mail is handled by 300 google.com.s9b1.psmtp.com.
> google.com mail is handled by 100 google.com.s9a1.psmtp.com.
>
> $ host google.com 208.67.222.222
> Using domain server:
> Name: 208.67.222.222
> Address: 208.67.222.222#53
> Aliases:
>
> google.com has address 74.125.19.105
> google.com has address 74.125.19.147
> google.com has address 74.125.19.99
> google.com has address 74.125.19.103
> google.com has address 74.125.19.104
> google.com has address 74.125.19.106
> google.com mail is handled by 400 google.com.s9b2.psmtp.com.
> google.com mail is handled by 200 google.com.s9a2.psmtp.com.
> google.com mail is handled by 300 google.com.s9b1.psmtp.com.
> google.com mail is handled by 100 google.com.s9a1.psmtp.com.
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
please try:
dig www.google.com @IPofyourDNSserver
and send me the output
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
03-08-2010, 05:44 PM
Gaurav Nangla
Centos 5.4 DNS resolution issue
I tried everything you put forward, but didn't work.
I had openSUSE 11.1 installed in a VM as well, DNS worked fine with it.
Best Regards,
Gaurav
On Mon, Mar 8, 2010 at 11:19 AM, John R Pierce <pierce@hogranch.com> wrote:
Gaurav Nangla wrote:
> I can ping the google.com <http://google.com> ip addresses
> (209.85.231.104) but can't ping the FQDN, obviously DNS is broken.
>
> I can also ping the nameserver ip addresses specified in /etc/resolv.conf.
well, the DNS servers given by your resolv.conf output seem valid from
here.. *I recommend doing some more debugging with `host` or similar DNS
diagnostic tools.
note regular DNS lookups like these tend to use UDP rather than TCP, if
you're behind a NAT firewall which doesn't allow outbound udp port 53
and connection track the response, then things might not work well.
$ host google.com 208.67.220.220
Using domain server:
Name: 208.67.220.220
Address: 208.67.220.220#53
Aliases:
google.com has address 74.125.19.105
google.com has address 74.125.19.99
google.com has address 74.125.19.103
google.com has address 74.125.19.106
google.com has address 74.125.19.147
google.com has address 74.125.19.104
google.com mail is handled by 400 google.com.s9b2.psmtp.com.
google.com mail is handled by 200 google.com.s9a2.psmtp.com.
google.com mail is handled by 300 google.com.s9b1.psmtp.com.
google.com mail is handled by 100 google.com.s9a1.psmtp.com.
$ host google.com 208.67.222.222
Using domain server:
Name: 208.67.222.222
Address: 208.67.222.222#53
Aliases:
google.com has address 74.125.19.105
google.com has address 74.125.19.147
google.com has address 74.125.19.99
google.com has address 74.125.19.103
google.com has address 74.125.19.104
google.com has address 74.125.19.106
google.com mail is handled by 400 google.com.s9b2.psmtp.com.
google.com mail is handled by 200 google.com.s9a2.psmtp.com.
google.com mail is handled by 300 google.com.s9b1.psmtp.com.
google.com mail is handled by 100 google.com.s9a1.psmtp.com.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
03-08-2010, 06:55 PM
"Gaurav N."
Centos 5.4 DNS resolution issue
UPDATE:
I tried with FreeBSD8 as well and the DNS query didn't work. This is beginning to look more and more like an issue with my*UTStarcom*WA3002G4 ADSL2+ Router and its NAT config or the lack of it.
;; global options: *printcmd;; connection timed out; no servers could be reached
Best Regards,
Gaurav
On Mon, Mar 8, 2010 at 5:21 PM, Pitshou Asingalembi <depitsho@yahoo.fr> wrote:
John R Pierce wrote:
> Gaurav Nangla wrote:
>
>> I can ping the google.com <http://google.com> ip addresses
>> (209.85.231.104) but can't ping the FQDN, obviously DNS is broken.
>>
>> I can also ping the nameserver ip addresses specified in /etc/resolv.conf.
>>
>
> well, the DNS servers given by your resolv.conf output seem valid from
> here.. *I recommend doing some more debugging with `host` or similar DNS
> diagnostic tools.
>
> note regular DNS lookups like these tend to use UDP rather than TCP, if
> you're behind a NAT firewall which doesn't allow outbound udp port 53
> and connection track the response, then things might not work well.
>
>
> $ host google.com 208.67.220.220
> Using domain server:
> Name: 208.67.220.220
> Address: 208.67.220.220#53
> Aliases:
>
> google.com has address 74.125.19.105
> google.com has address 74.125.19.99
> google.com has address 74.125.19.103
> google.com has address 74.125.19.106
> google.com has address 74.125.19.147
> google.com has address 74.125.19.104
> google.com mail is handled by 400 google.com.s9b2.psmtp.com.
> google.com mail is handled by 200 google.com.s9a2.psmtp.com.
> google.com mail is handled by 300 google.com.s9b1.psmtp.com.
> google.com mail is handled by 100 google.com.s9a1.psmtp.com.
>
> $ host google.com 208.67.222.222
> Using domain server:
> Name: 208.67.222.222
> Address: 208.67.222.222#53
> Aliases:
>
> google.com has address 74.125.19.105
> google.com has address 74.125.19.147
> google.com has address 74.125.19.99
> google.com has address 74.125.19.103
> google.com has address 74.125.19.104
> google.com has address 74.125.19.106
> google.com mail is handled by 400 google.com.s9b2.psmtp.com.
> google.com mail is handled by 200 google.com.s9a2.psmtp.com.
> google.com mail is handled by 300 google.com.s9b1.psmtp.com.
> google.com mail is handled by 100 google.com.s9a1.psmtp.com.
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
please try:
dig www.google.com @IPofyourDNSserver
and send me the output
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
03-08-2010, 07:07 PM
"Gaurav N."
Centos 5.4 DNS resolution issue
Here's the dig-google.pcap file attached, if it helps.Best Regards,
Gaurav
On Tue, Mar 9, 2010 at 1:25 AM, Gaurav N. <gaurav.knangla@gmail.com> wrote:
UPDATE:
I tried with FreeBSD8 as well and the DNS query didn't work. This is beginning to look more and more like an issue with my*UTStarcom*WA3002G4 ADSL2+ Router and its NAT config or the lack of it.
;; global options: *printcmd;; connection timed out; no servers could be reached
Best Regards,
Gaurav
On Mon, Mar 8, 2010 at 5:21 PM, Pitshou Asingalembi <depitsho@yahoo.fr> wrote:
John R Pierce wrote:
> Gaurav Nangla wrote:
>
>> I can ping the google.com <http://google.com> ip addresses
>> (209.85.231.104) but can't ping the FQDN, obviously DNS is broken.
>>
>> I can also ping the nameserver ip addresses specified in /etc/resolv.conf.
>>
>
> well, the DNS servers given by your resolv.conf output seem valid from
> here.. *I recommend doing some more debugging with `host` or similar DNS
> diagnostic tools.
>
> note regular DNS lookups like these tend to use UDP rather than TCP, if
> you're behind a NAT firewall which doesn't allow outbound udp port 53
> and connection track the response, then things might not work well.
>
>
> $ host google.com 208.67.220.220
> Using domain server:
> Name: 208.67.220.220
> Address: 208.67.220.220#53
> Aliases:
>
> google.com has address 74.125.19.105
> google.com has address 74.125.19.99
> google.com has address 74.125.19.103
> google.com has address 74.125.19.106
> google.com has address 74.125.19.147
> google.com has address 74.125.19.104
> google.com mail is handled by 400 google.com.s9b2.psmtp.com.
> google.com mail is handled by 200 google.com.s9a2.psmtp.com.
> google.com mail is handled by 300 google.com.s9b1.psmtp.com.
> google.com mail is handled by 100 google.com.s9a1.psmtp.com.
>
> $ host google.com 208.67.222.222
> Using domain server:
> Name: 208.67.222.222
> Address: 208.67.222.222#53
> Aliases:
>
> google.com has address 74.125.19.105
> google.com has address 74.125.19.147
> google.com has address 74.125.19.99
> google.com has address 74.125.19.103
> google.com has address 74.125.19.104
> google.com has address 74.125.19.106
> google.com mail is handled by 400 google.com.s9b2.psmtp.com.
> google.com mail is handled by 200 google.com.s9a2.psmtp.com.
> google.com mail is handled by 300 google.com.s9b1.psmtp.com.
> google.com mail is handled by 100 google.com.s9a1.psmtp.com.
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
please try:
dig www.google.com @IPofyourDNSserver
and send me the output
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
03-09-2010, 11:34 AM
JohnS
Centos 5.4 DNS resolution issue
On Tue, 2010-03-09 at 01:25 +0530, Gaurav N. wrote:
> UPDATE:
>
>
> I tried with FreeBSD8 as well and the DNS query didn't work. This is
> beginning to look more and more like an issue with
> my UTStarcom WA3002G4 ADSL2+ Router and its NAT config or the lack of
> it.
>
>
> My setup and the ip addresses:
> Router 192.168.1.1
> Windows 192.168.1.2
> Centos 5.4 192.168.1.3
> FreeBSD8 192.168.1.4
>
>
> The windows host works fine with no issues with DNS queries.
---
Hey do this for me since nothing seems to work. Log into your DSL
Modem/Router and get your DNS server IP Addresses and put them into:
resolve.conf
nameserver x.x.x.x
nameserver x.x.x.x
I have had certain router/modems that i have installed and have had to
do this because dhcp would not get the nameservers.
John
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos