[plug] bind, dns and oddities

William Kenworthy billk at iinet.net.au
Tue Jun 3 18:43:35 WST 2008


Ive just rehashed my home dns running on bind.

One item I am not sure about is how to handle "wap" and
"wap.localdomain". Should I be using a CNAME to get wap to resolve
correctly? - I was under the impression that bind would handle both by
default?

BillK

_______________________________________________
$ORIGIN localdomain.
$TTL	24H
@ IN SOA moriah.localdomain. root.moriah.localdomain. (
	2008060100	; serial, todays date + todays serial #
	3H 		; refresh, seconds
	15M 		; retry, seconds
	1W 		; expire, seconds
	1H ) 		; minimum, seconds
;
	IN	NS		troll.localdomain.
	IN	NS 		myth1.localdomain.
	IN	MX	10	moriah.localdomain.
;
;
.....
wap	IN	A	192.168.43.2
.....
_______________________________________________

and
_______________________________________________
$ORIGIN 43.168.192.in-addr.arpa.
$TTL 3H
@ IN SOA moriah.localdomain. root.moriah.localdomain. (
	2008060100	; serial, todays date + todays serial #
	3H		; refresh
	15M		; retry
	1W		; expiry
	1D )		; minimum
;
	IN 	NS		moriah.localdomain.
	IN	NS		myth1.localdomain.
	IN	MX	10	moriah.localdomain.
;
;
1	1D	IN	PTR	moriah.localdomain.
2	1D	IN	PTR	wap.localdomain.
_______________________________________________



-- 
William Kenworthy <billk at iinet.net.au>
Home in Perth!



More information about the plug mailing list