Find the answer to your Linux question:
Results 1 to 2 of 2
I am running a Fedora Core 1 server and want to confirm the DNS settings. This box does not run X. What command(s) can I use to get this info?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004
    Posts
    1

    Looking for DNS Settings from command line.


    I am running a Fedora Core 1 server and want to confirm the DNS settings. This box does not run X. What command(s) can I use to get this info?

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Code:
    cat /etc/resolv.conf
    Look at the "nameserver" lines will tell you which DNS servers you are using.

Posting Permissions

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