mirror of
https://github.com/google/nomulus.git
synced 2025-05-08 07:48:21 +02:00
In standard DNS format, the first thing on an A, NS or DS definition line is a domain label relative to the zone, which in our case is a TLD. However, the generate_zone_files command prints out fully qualified host and domain names, resulting in a discrepancy when compared to the contents of the DNS subsystem. This CL removes the TLD suffix, which should remove one preprocessing step before file comparison. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=166103705
14 lines
286 B
Dns
14 lines
286 B
Dns
$ORIGIN tld.
|
|
|
|
bar 222 IN NS ns.bar.tld.
|
|
bar 222 IN NS ns.foo.tld.
|
|
|
|
ns.bar 11 IN A 127.0.0.1
|
|
ns.bar 11 IN AAAA 0:0:0:0:0:0:0:1
|
|
|
|
ns-only 222 IN NS ns.foo.tld.
|
|
ns-only 222 IN NS ns.bar.tld.
|
|
|
|
ns-and-ds 222 IN NS ns.foo.tld.
|
|
ns-and-ds 222 IN NS ns.bar.tld.
|
|
ns-and-ds 3333 IN DS 1 2 3 000102
|