+ Post New Thread
Results 1 to 7 of 7
Windows Thread, tidying up dns in Technical; our dns seems a bit messed up, dunno what effect, if any this is having. Its not like there's any ...
  1. #1
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,525
    Thank Post
    106
    Thanked 89 Times in 75 Posts
    Blog Entries
    46
    Rep Power
    40

    tidying up dns

    our dns seems a bit messed up, dunno what effect, if any this is having. Its not like there's any obvious network problems.

    in the forward lookup zone there's many instances where it looks like a computer has been renamed but the old record hasnt disappeared. for instance
    b2-14 and a b2-14xp on 192.168.22.14

    in the reverse lookup zone especially with dhcp allocated addresses there's sometimes 4 machines on the same ip.

    ie
    nslookup 192.168.105.21

    ------------
    Got answer:
    HEADER:
    opcode = QUERY, id = 1, rcode = NOERROR
    header flags: response, auth. answer, want recursion, recursion avail.
    questions = 1, answers = 1, authority records = 0, additional = 0

    QUESTIONS:
    11.1.168.192.in-addr.arpa, type = PTR, class = IN
    ANSWERS:
    -> 11.1.168.192.in-addr.arpa
    name = server1.domain.sch.uk
    ttl = 1200 (20 mins)

    ------------
    Server: server1.domain.sch.uk
    Address: 192.168.1.11

    ------------
    Got answer:
    HEADER:
    opcode = QUERY, id = 2, rcode = NOERROR
    header flags: response, auth. answer, want recursion, recursion avail.
    questions = 1, answers = 4, authority records = 0, additional = 0

    QUESTIONS:
    21.105.168.192.in-addr.arpa, type = PTR, class = IN
    ANSWERS:
    -> 21.105.168.192.in-addr.arpa
    name = t12-02-xp
    ttl = 900 (15 mins)
    -> 21.105.168.192.in-addr.arpa
    name = lsahs-792b6cc71
    ttl = 900 (15 mins)
    -> 21.105.168.192.in-addr.arpa
    name = lap-mac-0907
    ttl = 900 (15 mins)
    -> 21.105.168.192.in-addr.arpa
    name = laptop04je.domain.sch.uk
    ttl = 900 (15 mins)

    ------------
    Name: t12-02-xp
    Address: 192.168.105.21
    we're not abounding with ip conflicts so really the dns has more records than it ought to have. there's 1232 records but we probably only got 750 real ones. (laptops will have 2, wireless & lan)

    this is the primary dns server. just wondering if I have to go thru it manually. or i can just delete it all and it'll fix itself?

  2. #2
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,525
    Thank Post
    106
    Thanked 89 Times in 75 Posts
    Blog Entries
    46
    Rep Power
    40
    bump.

    just wanted to know if I can delete all classroom pc dns records and it'll sort itself out or this is a very bad idea and I should do it manually?

  3. #3

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,152
    Thank Post
    215
    Thanked 1,259 Times in 790 Posts
    Blog Entries
    4
    Rep Power
    507
    Have you tried enabling DNS scavenging?

  4. #4
    stratisphere's Avatar
    Join Date
    Apr 2007
    Posts
    295
    Thank Post
    33
    Thanked 87 Times in 31 Posts
    Rep Power
    30
    As long as your DHCP server is set todo so, each time a client gets a lease, it'll update DNS.

    In theory, you can delete all your workstation records (workstation only... dont delete any relating to domain stuff or DC otherwise you'll be screwed!) and when they get new leases, DHCP will re-add them.

    Occasionally I do the same just to keep it clean.

    If you want to be sure workstations will re-add the records without suffering downtime from being unable to be resolved, simply restart them.

  5. #5
    Diello's Avatar
    Join Date
    Jun 2005
    Location
    Kent, England
    Posts
    1,064
    Thank Post
    112
    Thanked 228 Times in 128 Posts
    Rep Power
    74

  6. #6

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,168
    Thank Post
    868
    Thanked 2,696 Times in 2,286 Posts
    Blog Entries
    11
    Rep Power
    772
    Quote Originally Posted by browolf View Post
    bump.

    just wanted to know if I can delete all classroom pc dns records and it'll sort itself out or this is a very bad idea and I should do it manually?
    As long as your system is configured properly you should be able to delete the dns records of hosts and they will reregister the next time they are switched on.

  7. #7

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115
    DNS scavenging is a kludge, in fact it's a horrible kludge. That said it's probaby better than what most people have without it.

    But spend enought time around wireless laptops that sometimes use wired connections and you'll soon be agreeing with me. The main issue is the order in which DNS returns records when you've got Scavenging's no-refresh interval in action.

    Doing DHCP + DNS nicely is just very hard.

SHARE:
+ Post New Thread

Similar Threads

  1. DNS Flush / DNS Register
    By brahma in forum Windows
    Replies: 1
    Last Post: 18th July 2008, 09:29 AM
  2. DNS Problems... DCHP correct, DNS wrong
    By burgemaster in forum Windows
    Replies: 7
    Last Post: 27th June 2008, 11:05 AM
  3. Tidying Up and found this....
    By mattx in forum Windows
    Replies: 3
    Last Post: 16th September 2007, 08:43 AM
  4. Odd things you've found when tidying?
    By rhyds in forum General Chat
    Replies: 45
    Last Post: 19th July 2007, 12:22 PM
  5. Tidying up ISA 2004
    By eejit in forum Windows
    Replies: 2
    Last Post: 29th January 2007, 01:20 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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