X-Git-Url: https://git.distorted.org.uk/~mdw/zones/blobdiff_plain/37caef7396cd0f59eb2c5f0fdd8d3728eee620c9..6baf2de2facce55fd77bd7376a430f554d7e74ca:/distorted.lisp diff --git a/distorted.lisp b/distorted.lisp index d8be3a7..1702e1c 100644 --- a/distorted.lisp +++ b/distorted.lisp @@ -16,7 +16,7 @@ ;; IPv6 anycast addresses are globally routable, while IPv4 ones aren't. (if (zone-preferred-subnet-p (car any-provider)) (zone-set-address #'rec (cdr any-provider) :make-ptr-p t) - (dolist (addr (host-addrs (host-parse (cdr any-provider)))) + (do-host (addr (cdr any-provider)) (let ((family (ipaddr-family addr))) (if (member family *anycast-routable-families*) (zone-set-address #'rec addr @@ -91,10 +91,10 @@ (ntp :cname ntp0) (www-cache :anycast ((any www-cache.any) - (jump telecaster.jump) - (dmz roadstar.dmz) - (unsafe roadstar.unsafe) - (colo telecaster.colo))) + (jump (:ipv4 telecaster.jump)) + (dmz (:ipv4 roadstar.dmz)) + (unsafe (:ipv4 roadstar.unsafe)) + (colo (:ipv4 telecaster.colo)))) (wpad :cname www-cache) (_kerberos :txt "DISTORTED.ORG.UK")