#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2011
    Posts
    3
    Rep Power
    0

    DNS not updating


    Hi All,

    I am having a problem. I set up a new DNS server. It is answering queries correctly, but I am not sure why, nothing is propagating out to the internet. I am running bind 9.7.3 in a Windows 2003 server.
    ------------

    This is the named.conf, which is sitting in c:\named\etc

    I keep my zone files on a separate drive in the root of the the E:\ drive

    ----------------
    options {
    directory "e:\\";
    #listen-on port 53 { 127.0.0.1; };
    #listen-on-v6 port 53 { ::1; };
    pid-file "e:\\named.pid";
    memstatistics-file "e:\\named_mem_stats.txt";
    #allow-query { any; };
    allow-recursion { any; };
    recursion yes;
    };
    // Root Servers
    zone "." IN {
    type hint;
    file "named.ca";
    };
    // Entry for Local Loopback
    zone "0.0.127.in-addr.arpa" IN {
    type master;
    file "named.local";
    };
    logging {
    channel default_debug {
    file "e:\\named.run";
    severity dynamic;
    };
    };
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2010
    Location
    Florida
    Posts
    248
    Rep Power
    4
    What do you mean by not propagating?

    You have a simple set up with no hosted zones it appears. Well 1 zone for the reverse loopback. Just a recursive server other than that. DNS doesn't really propagate. Or at least that's not a good term for it (although it's used quite a lot). So what are you trying to get done exactly? Adding zones?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2011
    Posts
    3
    Rep Power
    0
    Hmmm - so I definitely have something wrong.

    I have a load of zone files sitting on the e: drive. I thought the conf would be looking at the zone files on e:\ and be loading them. I must be close because the event viewer in windows says its loading them.

    When I say not propagating. I mean that if I update a zone file and you look up that zone record for one of the domain names I host, there seems to be no updates.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2010
    Location
    Florida
    Posts
    248
    Rep Power
    4
    You have to list the zones you use in the named.conf file. Right now you have the hints zone and reverse lookup for the loopback zone in named.conf. If you want BIND to look at any other zones, just add them and reload the named.


    Something like this for any other zones you have:

    zone "example.com" IN {
    type master;
    file "db.example.com";
    };
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2011
    Posts
    3
    Rep Power
    0
    Sorry - I cut the file, because there are a lot of zone files (approx 100). I do have that.

    Here is a sample of the .conf with the first few records.

    ---------------------------
    options {
    directory "e:\\";
    #listen-on port 53 { 127.0.0.1; };
    #listen-on-v6 port 53 { ::1; };
    pid-file "e:\\named.pid";
    memstatistics-file "e:\\named_mem_stats.txt";
    #allow-query { any; };
    allow-recursion { any; };
    recursion yes;
    };
    // Root Servers
    zone "." IN {
    type hint;
    file "named.ca";
    };
    // Entry for Local Loopback
    zone "0.0.127.in-addr.arpa" IN {
    type master;
    file "named.local";
    };
    logging {
    channel default_debug {
    file "e:\\named.run";
    severity dynamic;
    };
    };
    zone "3rdstreetsalon.com" {type master; file "db.3rdstreetsalon.com";};
    zone "3rdstreetsalonandspa.com" {type master; file "db.3rdstreetsalonandspa.com";};
    zone "989naplesfmtalk.com" {type master; file "db.989naplesfmtalk.com";};
    zone "americasgate.com" {type master; file "db.americasgate.com";};
    zone "americasgate.net" {type master; file "db.americasgate.net";};
    zone "americasgate.org" {type master; file "db.americasgate.org";};
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2010
    Location
    Florida
    Posts
    248
    Rep Power
    4
    Well as long as you have the zones it should be fine. When you update zone files, the information has to be reloaded for named. In linux and UNIX, this usually is just a quick restart of named, so I'm not sure what you would do in Windows. I'm a BIND user, but I've never done it in Windows.

    Also keep in mind that if a record is cached somewhere, you wont see an update until the cached record expires and the name server pulls a new one. So there can be a delay.

IMN logo majestic logo threadwatch logo seochat tools logo