|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I am experimenting with wide area Bonjour, and have run into some puzzling behavior of dnsextd. When Bonjour client registers a new service, it seams that dnsextd makes a reverse lookup using IP address of the client. If the reverse lookup fails, dnsextd still registers the service with named, using IP address of authoritative server responding to the query. Shouldn't it just fail the service registration, instead of registering with a wrong, but valid and ping-able IP address? Is this a bug, or intended behavior In the latter case, what was the intension for this puzzling behavior? Examples 1. Bonjour name server at 10.151.1.2 is authoritative NS for subdomain mysub.com, corresponding to IP address range 10.151.1.0/24. A Bonjour client runs on host with IP address 10.151.1.8, it is configured in Bonjour configuration to register and publish to mysub.com. There is no reverse record for 188.8.131.52.in-addr.arpa in zone file db.10.151.1. In this case, all Bonjour advertisements for 10.151.1.8 end up pointing to 10.151.1.2, which is IP address of the authoritative NS for domain mysub.com / IP subnet 10.151.1.x. 2. Same Bonjour name server at 10.151.1.2 as above. A Bonjour client runs on a host behind a NAT box, and has IP address of 192.168.128.8. All Bonjour advertisements for this client point to IP address of 184.108.40.206, which happens to be IANA blackhole server prisoner.iana.org. I suspect that dnsextd made a reverse lookup for 192.168.128.8, which was not in the Bonjour name servers reverse zone, and the request went all the way up to root NS, ending up at a blackhole server. System details: both Bonjour name server and Bonjour client hosts run on Leopard 1.5.3, BIND 5.4.1-P1, msdnresponder v.1.171.4 (as reported by dns-sd -V). In example 2 NAT box between 10.5.1.x and 192.168.128.x subnets is a Netgear with UPnP turned on. Best regards, Sergey Chemishkian _______________________________________________ Do not post admin requests to the list. They will be ignored. Bonjour-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.