(r)zonegen.py: Switched to public names for NS and SOA
This commit is contained in:
parent
63dc193ff7
commit
a99d503fcb
|
@ -40,7 +40,7 @@ if not domain.endswith("."):
|
|||
domain = domain + "."
|
||||
|
||||
print("""$TTL 1h
|
||||
@ IN SOA ns.ffhb. liste.bremen.freifunk.net. (
|
||||
@ IN SOA vpn01.bremen.freifunk.net. noc.bremen.freifunk.net. (
|
||||
%s ; serial
|
||||
1h ; refresh
|
||||
30m ; retry
|
||||
|
@ -48,7 +48,7 @@ print("""$TTL 1h
|
|||
1h ; caching
|
||||
)
|
||||
|
||||
@ NS ns01.ffhb.
|
||||
NS vpn01.bremen.freifunk.net.
|
||||
""" % datetime.now().strftime("%Y%m%d%H%M"))
|
||||
|
||||
for node in data.values():
|
||||
|
|
|
@ -20,7 +20,7 @@ def str_to_domainlabel(s):
|
|||
data = json.load(sys.stdin)
|
||||
|
||||
print """$TTL 1h
|
||||
@ IN SOA ns.ffhb. liste.bremen.freifunk.net. (
|
||||
@ IN SOA vpn01.bremen.freifunk.net. noc.bremen.freifunk.net. (
|
||||
%s ; serial
|
||||
1h ; refresh
|
||||
30m ; retry
|
||||
|
@ -28,7 +28,7 @@ print """$TTL 1h
|
|||
1h ; caching
|
||||
)
|
||||
|
||||
NS ns.ffhb.
|
||||
NS vpn01.bremen.freifunk.net.
|
||||
|
||||
""" % datetime.now().strftime("%Y%m%d%H%M")
|
||||
|
||||
|
|
Loading…
Reference in New Issue