From: Mark Wooding Date: Sat, 17 Mar 2012 15:17:50 +0000 (+0000) Subject: distorted.lisp, hosts.lisp: Publish addresses for anycast services. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/zones/commitdiff_plain/345c0f698db1a02fe4e9b5ad8d1d711ba1aeb8f2?hp=74180153dc4fd82fe3a5e0e0a767a3530c8a7235 distorted.lisp, hosts.lisp: Publish addresses for anycast services. --- diff --git a/distorted.lisp b/distorted.lisp index 184be43..a39ac91 100644 --- a/distorted.lisp +++ b/distorted.lisp @@ -35,6 +35,22 @@ (defzone distorted.org.uk (:kerberos-adm krb) ((:kpasswd :protocol :udp) krb)) + ;; Anycast services. (Currently not implemented.) + (dns0 (inside :svc radius.unsafe) + (any :a dns0.any)) + (dns1 (inside :svc vampire.unsafe) + (any :a dns1.any)) + (ntp0 (inside :svc ibanez.unsafe) + (any :a ntp0.any)) + (ntp1 (inside :svc vampire.unsafe) + (any :a ntp1.any)) + (www-cache (dmz :svc vampire.dmz) + (inside :svc vampire.unsafe) + (any :a www-cache.any)) + (dns :cname dns0) + (ntp :cname ntp0) + (wpad :cname www-cache) + ;; Other services. :srv ((:http www) (:ftp ftp)) @@ -53,13 +69,11 @@ (defzone distorted.org.uk ;; Local services. :svc vampire - ((www krb ftp rsync wiki git git-master - bugs mail db i2p rawk vox www-cache) + ((www krb ftp rsync wiki git bugs mail db i2p rawk vox) :svc vampire) ;; Internal services. - #+view/inside ((ntp) :svc ibanez.unsafe) - #+view/inside ((wpad ntp1 news lpr) :svc vampire.unsafe) + #+view/inside ((news lpr) :svc vampire.unsafe) ;; Anonymity services. (tor :svc #+view/inside vampire.unsafe @@ -135,6 +149,7 @@ (defrevzone trusted :reverse vpn :reverse colo :reverse its + :reverse any (dhcp :ns (radius.ns vampire.ns)) :cidr-delegation (trusted ((dhcp safe) 199.29.172.dhcp.199.29.172.in-addr.arpa))) diff --git a/hosts.lisp b/hosts.lisp index cee2a51..b7fc5e5 100644 --- a/hosts.lisp +++ b/hosts.lisp @@ -95,6 +95,13 @@ (defhost telecaster.colo (colo 3)) (defhost stratocaster.colo (colo 4)) (defhost jazz.colo (colo 5)) +;; Anycast addresses for services. +(defhost dns0.any (any 0)) +(defhost dns1.any (any 1)) +(defhost ntp0.any (any 2)) +(defhost ntp1.any (any 3)) +(defhost www-cache.any (any 4)) + ;;;-------------------------------------------------------------------------- ;;; Host switch.