X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-generate;h=887176ccf0b98c4486010294d6fd0813b960755f;hb=360ebdcf8443f1fc2b4ca03a4ac3246d078dc8f6;hp=158c3f68f730935feec0ef8976245d541ff20ecd;hpb=27a9bdc896eac973bd253a636f3c062933a0a0eb;p=mirror%2Fuserdir-ldap.git diff --git a/ud-generate b/ud-generate index 158c3f6..887176c 100755 --- a/ud-generate +++ b/ud-generate @@ -853,8 +853,8 @@ def ExtractDNSInfo(x): return DNSInfo -# Generate the DNS SSHFP records -def GenSSHFP(File): +# Generate the DNS records +def GenZoneRecords(File): F = None try: F = open(File + ".tmp", "w") @@ -1184,7 +1184,7 @@ for host in HostAttrs: if 'DNS' in ExtraList: GenDNS(OutDir + "dns-zone") - GenSSHFP(OutDir + "dns-sshfp") + GenZoneRecords(OutDir + "dns-sshfp") if 'AUTHKEYS' in ExtraList: DoLink(GlobalDir, OutDir, "authorized_keys")