Find the answer to your Linux question:
Results 1 to 5 of 5
Okay, right up front, I am the worlds biggest noob when it comes to linux. And DNS as far as that goes. Running RH ES 2.4.21-4. We do not have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    5

    dns issues


    Okay, right up front, I am the worlds biggest noob when it comes to linux. And DNS as far as that goes. Running RH ES 2.4.21-4. We do not have any local dns servers, using our ISP's servers for hostname lookups. Internally this has been a small hassle as I am having to use netbeiu for cross-subnet hostname connections without getting into a host table for each ws. All our MS servers/ws have no prob using ISP's dns servers for external hostname lookups. The RH box however, refuses to cooperate. Assigned it an internal ip, gateway, mask and ISP dns servers (2). Can ping all day using ip. Refuses to do a hostname lookup or ping via hostname, so can't use dns or reverse dns validation on our spam filtering process.

    Any help would be greatly appreciated.

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    You have a file called "/etc/resolv.conf" where you have your DNS configuration.
    should have something like this
    Code:
    search example.com
    nameserver 192.168.1.1
    And btw, you are able to configure multiple nameservers

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

    re:dns

    This is what lives in the resolv.conf file:

    search ns1.acsalaska.net
    nameserver 209.193.4.7
    search ns2.acsalaska.net
    nameserver 209.193.4.8

    We don't have a local domain either. Just a novell tree with a windows workgroup environ.

  4. #4
    Just Joined!
    Join Date
    Mar 2005
    Posts
    5

    re: dns

    This is a result of dig with before mentioned resolv.conf setup. Am I missing a route or a gateway?

    # dig yahoo.com
    ;; reply from unexpected source: 172.16.0.1#53, expected 209.193.4.7#53
    ;; reply from unexpected source: 172.16.0.1#53, expected 209.193.4.8#53
    ;; reply from unexpected source: 172.16.0.1#53, expected 209.193.4.7#53
    ;; reply from unexpected source: 172.16.0.1#53, expected 209.193.4.8#53

  5. #5
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    Hmm! Something is really strange here, its not so that you have a proxy-dns when you connect to the internet?

    If you try
    Code:
    dig @209.193.4.7 yahoo.com any any
    what will that show?

Posting Permissions

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