DNS query with no domain

Matthew Pounsett matt at conundrum.com
Mon Aug 18 20:19:24 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






More information about the bind-users mailing list