DNS query with no domain

Mark Andrews Mark_Andrews at isc.org
Tue Aug 19 01:52:03 UTC 2008


> On 18-Aug-2008, at 15:57 , Prabhat Rana wrote:
> 
> > Matt,
> > Thanks for a quick response again. Yes the design for handheld  
> > device to be able to connect just by querying http://mms does look  
> > like broken. And yes http://mms is the only hostname that handheld  
> > will be access in this way (without domain). So to better understand  
> > the solution that you have provided,
> > At this time the authoritative servers have a zone db.ora.com in  
> > which there is A record for mms to an IP.
> > So what you're suggeting is configure a mms. zone in the named.conf  
> > and create a zone file called db.mms. and in that zone file have A  
> > record for mms to mms.ora.com? Now it responds with same IP for both  
> > mms.ora.com and mms?
> > And then put a forwarder for mms in recursive DNS that points to  
> > authoritative servers?
> 
> 
> Yes, that sounds about right.   In the file db.mms (for the mms. zone)  
> you would insert an A record for the origin, not for a host called mms  
> (which would end up being mms.mms.)  So, if the IP address for  
> mms.ora.com is 192.0.2.1, your zone file for mms. would look something  
> like this:
> 
> ---
> mms. IN SOA name.server.ora.com. admin.name.server.ora.com. (
>       2008081812
>       30m
>       15m
>       7d
>       1h )
> 
>       IN NS name.server.ora.com.
>       IN A 192.0.2.1
> ---
> 
> Good luck,
>    Matt

	Note:  Single label absolute hostnames were declared a BAD
	idea over 20 years ago.  All such hostnames, at the time,
	were renamed at the time to <foo>.ARPA.

	Single label absolute hostnames will NEVER work cleanly.
	Trying to make them work cleanly is a exercise in futility.

	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