Changeset 8636 in genesis


Ignore:
Timestamp:
Nov 2, 2010, 7:51:07 PM (14 years ago)
Author:
richardvm
Message:

duplicate entry

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dns/staticDNS.yaml

    r8622 r8636  
    105105  trracer.CNodeJorg : 172.20.0.67
    106106  trracer : trracer.CNodeJorg
    107   richard : 172.19.137.70
    108107  sunny : 172.16.4.46
    109108  factory : 172.19.128.69
  • tools/gformat.py

    r8622 r8636  
    641641  for host,ip in wleiden_zone.iteritems():
    642642    if valid_addr(ip):
    643       f.write("%s.wleiden.net. IN A %s \n" % (host, ip))
     643      f.write("%s.wleiden.net. IN A %s \n" % (host.lower(), ip))
    644644  for source,dest in wleiden_cname.iteritems():
    645     f.write("%s.wleiden.net. IN CNAME %s.wleiden.net.\n" % (source, dest))
     645    f.write("%s.wleiden.net. IN CNAME %s.wleiden.net.\n" % (source.lower(), dest.lower()))
    646646  f.close()
    647647 
     
    658658        if int(ip.split('.')[1]) == s:
    659659          rev_ip = '.'.join(reversed(ip.split('.')))
    660           f.write("%s.in-addr.arpa. IN PTR %s.wleiden.net.\n" % (rev_ip, host))
     660          f.write("%s.in-addr.arpa. IN PTR %s.wleiden.net.\n" % (rev_ip.lower(), host.lower()))
    661661    f.close()
    662662
Note: See TracChangeset for help on using the changeset viewer.