Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    resolv.conf and DNS


    Hi everyone,

    Which is the configuration file where you should configure the external DNS? Is it resolv.conf?

    My problem is that the I cannot resolve fully qualified domain (FQDN) names like www.linuxforums.org.

    I did add a name server like ns.dns.br but the name lookups are not working.

    Regards,
    Jano

  2. #2
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    check your /etc/nsswitch.conf file and make sure you have the following line there:
    hosts: files dns

    and then in the resolv.conf just add your local dns name server...somthing like this:
    nameserver <ip-address>
    Fixing Unix is better than working with Windows.
    http://nikhilk.homedns.org/projects/index.html

Posting Permissions

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