Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS resolves but not able to surf the web

Status
Not open for further replies.

mrdurex

Programmer
Sep 14, 2007
6
CR
I test my DNS server with nslookup and dig tools and resolves any name I put (for example: "dig yahoo.com") and get an answer. But when I open a web explorer, nothing happens, just i'm able to access my server web page so!! I don't know what's wrong.

I have a Fedora Core 7 install and a BIND DNS Server BIND version 9.4.2, under chroot.

Any help?
 
Yes I do! I think so. Meaning what, if has all configuration set up and running.

Because what I got is, all the zones and forward zones too. All configured

Or is it in the client machine?

The client machine has the IP of my DNS server, in the DNS section, so I think everything is setup correctly.
 
From the a Ubuntu client this is the output. Using DIG
Code:
; <<>> DiG 9.3.4 <<>> yahoo.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8408
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 7, ADDITIONAL: 7

;; QUESTION SECTION:
;yahoo.com.                     IN      A

;; ANSWER SECTION:
yahoo.com.              300     IN      A       216.109.112.135
yahoo.com.              300     IN      A       66.94.234.13

;; AUTHORITY SECTION:
yahoo.com.              158771  IN      NS      ns3.yahoo.com.
yahoo.com.              158771  IN      NS      ns4.yahoo.com.
yahoo.com.              158771  IN      NS      ns5.yahoo.com.
yahoo.com.              158771  IN      NS      ns2.yahoo.com.
yahoo.com.              158771  IN      NS      ns1.yahoo.com.
yahoo.com.              158771  IN      NS      ns6.yahoo.com.
yahoo.com.              158771  IN      NS      ns8.yahoo.com.

;; ADDITIONAL SECTION:
ns1.yahoo.com.          89080   IN      A       66.218.71.63
ns2.yahoo.com.          89080   IN      A       68.142.255.16
ns3.yahoo.com.          89080   IN      A       217.12.4.104
ns4.yahoo.com.          89080   IN      A       68.142.196.63
ns5.yahoo.com.          89080   IN      A       216.109.116.17
ns6.yahoo.com.          164158  IN      A       202.43.223.170
ns8.yahoo.com.          164158  IN      A       202.165.104.22

;; Query time: 584 msec
;; SERVER: 192.168.10.100#53(192.168.10.100)
;; WHEN: Fri Sep 14 15:30:48 2007
;; MSG SIZE  rcvd: 297

And doing DIG to my DNS server. It is this

Code:
; <<>> DiG 9.3.4 <<>> fedora.cr4i.int
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31605
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;fedora.cr4i.int.               IN      A

;; ANSWER SECTION:
fedora.cr4i.int.        38400   IN      A       192.168.10.100

;; AUTHORITY SECTION:
cr4i.int.               38400   IN      NS      fedora.cr4i.int.

;; Query time: 1 msec
;; SERVER: 192.168.10.100#53(192.168.10.100)
;; WHEN: Fri Sep 14 15:32:42 2007
;; MSG SIZE  rcvd: 63

And this is with nslookup but in Windows

nslookup on yahoo


Code:
C:\Documents and Settings\Usuario>nslookup yahoo.com

*** No se puede encontrar el nombre de servidor para la dirección 192.168.10.100

: Non-existent domain

*** Los servidores predeterminados no están disponibles

Servidor:  UnKnown

Address:  192.168.10.100



Respuesta no autoritativa:

Nombre:  yahoo.com

Addresses:  216.109.112.135, 66.94.234.13

And on My Server
Code:
C:\Documents and Settings\Usuario>nslookup fedora.cr4i.int

*** No se puede encontrar el nombre de servidor para la dirección 192.168.10.100

: Non-existent domain

*** Los servidores predeterminados no están disponibles

Servidor:  UnKnown

Address:  192.168.10.100



Nombre:  fedora.cr4i.int

Address:  192.168.10.100


So I don't know what is happing is everything looking good

What do you think.
 
Are you able to access websites by their IP address? If not, then it looks like you have an issue that is not related to DNS.
 
No I can not access website by their IP. So what do you think It would be???

 
Here is an output

Code:
C:\Documents and Settings\Usuario>ping 69.147.114.210



Haciendo ping a 69.147.114.210 con 32 bytes de datos:



Tiempo de espera agotado para esta solicitud.

Tiempo de espera agotado para esta solicitud.



Estadísticas de ping para 69.147.114.210:

    Paquetes: enviados = 2, recibidos = 0, perdidos = 2

    (100% perdidos),



C:\Documents and Settings\Usuario>ping yahoo.com



Haciendo ping a yahoo.com [66.94.234.13] con 32 bytes de datos:



Tiempo de espera agotado para esta solicitud.



Estadísticas de ping para 66.94.234.13:

    Paquetes: enviados = 1, recibidos = 0, perdidos = 1

    (100% perdidos),
 
You don't have the correct default gateway on the workstation perhaps.
 
ok thanks i'm going to check, but the gateway it's good so I don't know.

Thanks anyway!
 
It could be many things - you could have a bad port on your switch - you could have a short connection between your switch and the location of the machine, but the problem is sounds like a network connectivity issue.

The wrong gateway setting would also cause a problem.

Good luck,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top