Find the answer to your Linux question:
Page 1 of 4 1 2 3 4 LastLast
Results 1 to 10 of 40
I consulted some of the threads and configured DNS on my linux machine running Fedora Core 1.... I have made appropriate changes in /etc/resolv.conf and named.conf Now i start named(BIND) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21

    DNS conifguration problem!!


    I consulted some of the threads and configured DNS on my linux machine running Fedora Core 1....
    I have made appropriate changes in /etc/resolv.conf and named.conf

    Now i start named(BIND) it starts sucessfully
    andnow i try "host" for some site say www.yahoo.com
    then it shows the following message.....

    ;;connection timed out;no servers could be reached

    I m connected to internet through a LAN.And i am not a proxy server..
    please help me

  2. #2
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    What's the contents of your resolv.conf?

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21

    resolv.conf

    it has only 1 entry

    nameserver 127.0.0.1

    Do i need to write something else????

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    No, that is fine. Now show me the results for these commands:

    ps -Af | grep 'named'
    netstat -an | grep ':53'

  6. #5
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21

    the info.....

    named 3877 1 0 Apr02 ? 00:00:00 usr/sbin/named -u named -t /var/named/chroot
    root 17228 27730 0 01:25 pts/1 00:00:00 grep named

    and for netstat -an | grep ':53'

    tcp 0 0 192.168.0.30:53 0.0.0.0:* LISTEN
    tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
    udp 0 0 0.0.0.0:53 0.0.0.0:*
    udp 0 0 192.168.0.30:53 0.0.0.0:*
    udp 0 0 127.0.0.1:53 0.0.0.0:*


    actually i dont want to do zone hosting ...i just want ip adresses of the domain names..

  7. #6
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    I understand that. There is something strange listening on:

    udp 0 0 0.0.0.0:53 0.0.0.0:*

    Show me the results for this command:

    lsof -nPiTCP:53

  8. #7
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21

    for the command u requested!!!

    named 3877 named 8u IPv4 3710 TCP 127.0.0.1:53 (LISTEN)
    named 3877 named 10u IPv4 3712 TCP 192.168.0.30:53 (LISTEN)

    above is the output of the command

  9. #8
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    Oops, should've used UDP. Show me the results for this command:

    lsof -nPiUDP:53

  10. #9
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21

    for udp

    named 3877 named 6u IPv4 3723 UDP *:53
    named 3877 named 7u IPv4 3709 UDP 127.0.0.1:53
    named 3877 named 9u IPv4 3711 UDP 192.168.0.30:53

  11. #10
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    Well that's interesting. I've never seen BIND listen on 0.0.0.0:53 before. *shrug* it doesn't matter. Let's test out these connectivity issues you've got.

    Show me the results for the following commands:

    dig www.google.com
    dig www.google.org

    I'm testing out a problem that only effects .COM/.NET domains. The above .com might timeout while the .org works.

Page 1 of 4 1 2 3 4 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •