bind9.4

Mark Andrews Mark_Andrews at isc.org
Fri Mar 2 12:42:54 UTC 2007


> I have:
> FreeBSD 5.4-RELEASE
> BIND 9.4
> 
> In logs I see strings like:
> client X.X.X.X#55119: RFC 1918 response from Internet for 10.1.10.10.in-addr.
> arpa
> client X.X.X.X#3536: RFC 1918 response from Internet for 212.1.168.192.in-add
> r.arpa
> client X.X.X.X#58522: RFC 1918 response from Internet for 5.1.168.192.in-addr
> .arpa
> 
> 
> The question - how BIND knows, that he placed in Internet or LAN?
> 
> -- 
> Yours sincerely,
>    Vasilyev Igor

	Named doesn't.  It can however look at the answer and work out
	if it matches the type of response that comes from the AS112
	servers or not.

	e.g.

; <<>> DiG 9.3.3 <<>> 10.1.10.10.in-addr.arpa ptr @BLACKHOLE-2.IANA.ORG
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 44257
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;10.1.10.10.in-addr.arpa.	IN	PTR

;; AUTHORITY SECTION:
10.in-addr.arpa.	604800	IN	SOA	prisoner.iana.org. hostmaster.root-servers.org. 2002040800 1800 900 604800 604800

;; Query time: 184 msec
;; SERVER: 192.175.48.42#53(192.175.48.42)
;; WHEN: Fri Mar  2 23:29:34 2007
;; MSG SIZE  rcvd: 118

	I suggest that you also read the FAQ entry.

	Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list