We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36c0cc8 commit d977e84Copy full SHA for d977e84
packages/ns-migration/files/scripts/dns
@@ -44,6 +44,11 @@ for address in data["addresses"]:
44
aname = utils.get_id(address["name"])
45
nsmigration.vprint(f'Creating wildcard record {aname}')
46
addresses.append(f'/{address["name"]}/{address["ip"]}')
47
+ dname = utils.get_random_id()
48
+ u.set("dhcp", dname, "domain") # create named record
49
+ for o in address:
50
+ u.set("dhcp", dname, o, address[o])
51
+
52
u.set("dhcp", dnsmasq_section, "address", addresses)
53
54
# Save configuration
0 commit comments