~mdw
/
zones
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
distorted.lisp: Use `do-host' now that it's exported.
[zones]
/
distorted.lisp
diff --git
a/distorted.lisp
b/distorted.lisp
index
51bfe02
..
1702e1c
100644
(file)
--- 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)
;; 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)
- (do
list (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
(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)
(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")
(wpad :cname www-cache)
(_kerberos :txt "DISTORTED.ORG.UK")
@@
-138,8
+138,8
@@
:svc #+view/inside stratocaster.colo
#-view/inside stratocaster.jump
(cabal :svc stratocaster.colo :sshfp "stratocaster")
:svc #+view/inside stratocaster.colo
#-view/inside stratocaster.jump
(cabal :svc stratocaster.colo :sshfp "stratocaster")
- ((db ftp) (colo :svc telecaster.colo :sshfp "telecaster")
- (jump :svc telecaster.jump :sshfp "telecaster"))
+ ((db ftp
dyndns
) (colo :svc telecaster.colo :sshfp "telecaster")
+
(jump :svc telecaster.jump :sshfp "telecaster"))
;; Local services.
((rawk pifi) (unsafe :svc artist.unsafe)
;; Local services.
((rawk pifi) (unsafe :svc artist.unsafe)
@@
-243,6
+243,12
@@
;;;--------------------------------------------------------------------------
;;; Other subsidiary zones.
;;;--------------------------------------------------------------------------
;;; Other subsidiary zones.
+(defzone dhcp.distorted.org.uk
+ (gibson :addr gibson.unsafe)
+ (lespaul :addr lespaul.safe)
+ (invader :addr invader.safe)
+ (marauder :addr marauder.safe))
+
(defrevzone trusted
:ns (radius.distorted.org.uk.
precision.distorted.org.uk.
(defrevzone trusted
:ns (radius.distorted.org.uk.
precision.distorted.org.uk.