Find the answer to your Linux question:
Results 1 to 3 of 3

Thread: DNS Issues

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    DNS Issues


    Hey,

    I seem to have trouble pinging servers on the internal network as well as the internet using hostnames.

    So if I ping a server "webern" on the local network, I get back:
    ping: unknown host webern

    But if I ping by IP, It pings ok.

    I can't remeber where I set the DNS settings....I've been outta the linux world for a while...

    Thanks In Advanced!

  2. #2
    there is one file called in /etc/resolv.conf. If it is not there then you have to create one.
    once you do "vi resolv.conf" then you have to enter following info.

    nameserver 4.2.2.2
    nameserver 4.2.2.1

    above two nameserver are DNS server that worked for me. Otherwise your internet provider has their own DNS information.

  3. #3
    Done that.

    Now I can ping google and other internet sites using names

    By I still cannot ping local servers or workstations.

    My resolv.conf file:
    Code:
    nameserver 192.168.32.2 #Domain AD,DNS,DHCP Server
    nameserver 4.2.2.2 #Internet DNS's
    nameserver 4.2.2.1
    Ta

  4. $spacer_open
    $spacer_close

Posting Permissions

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