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

    [SOLVED]Remove DNS server


    Hello,

    So I have a CentOS 6 machine that had had bind installed and configured so that it was the main DNS server for our network. We decided to put in a new router etc and now the new router is doing the DNS instead of this machine, but this machine is still trying to act like a DNS server.

    I removed bind using yum but have yet to figure out how to make it stop thinking that it is the DNS server for the system.

    Where would I to try and figure out how to make it look to the router for its DNS info?
    Last edited by KroniK907; 05-08-2013 at 08:09 PM.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    4,031
    Look in /etc/resolv.conf
    and change the nameserver line.

    Be aware though, that this file *could* be managed and automatically created with data from a dhcp server.
    If so, then modify the dhcp server config.
    You must always face the curtain with a bow.

  3. #3
    Quote Originally Posted by Irithori View Post
    Look in /etc/resolv.conf
    and change the nameserver line.

    Be aware though, that this file *could* be managed and automatically created with data from a dhcp server.
    If so, then modify the dhcp server config.
    Turned off Network Manager and set the DNS via the resolv.conf

    Worked beautifully

  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
  •