Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Using a text editor (such as vim, nano, or emacs), open this file, then see if you can find the options section, adding this line:

Code Block
allow-recursion { 127.0.0.1; };


In some cases this file may include other config files, such as Kloxo's. It looks like this:


Code Block
//Kloxo

...


include "/etc/kloxo.named.conf";

...



//Kloxo global config (stop being open recursors)

...


include "/etc/global.options.named.conf";



In this case, you can add an options section yourself, making the resulting file look like this:


Code Block
options

...

 {
    allow-recursion {127.0.0.1;};

...


};

...



//Kloxo

...


include "/etc/kloxo.named.conf";

...



//Kloxo global config (stop being open recursors)

...


include "/etc/global.options.named.conf";




Then run the command: service named restart

...


edit /etc/resolv.conf

Replace these lines:


Code Block
nameserver 208.77.208.4

...


nameserver 208.77.208.5


with this one:

Code Block
nameserver 127.0.0.1

Verify you can ping domains outside of the server such as google.com, facebook.com, yahoo.com etc.

...

  1. Update DNS Server settings
    1. Open the Windows DNS Manager:
      1. Start > Search for DNS will usually find it
    2. Right click your server, and left click properties
    3. Click the Root Hints tab, click copy from server, type in 208.77.208.4 and click ok
      1. After copying these, make sure they resolve
        1. Select an item in the Name servers list
        2. Click Edit
        3. Click on the Resolve button.
          It should return with an IP address and OK in the Validated section like this:
          Image Removed
          Image Added

  2. Update Network adapter settings
    1. Open Network and Sharing Center > Change Adapter Settings > Right click your Local Area Connection > Internet Protocol Version 4 > Properties
      1. Change your preferred DNS Server to 127.0.0.1, and remove the Alternate DNS Server.

...