[afnog] Resolve non-FQDN with Bind

tawanda kavayi kavayit at africaonline.co.zw
Fri Oct 19 05:32:25 UTC 2007



Hi

> tawanda kavayi (kavayit) writes:
>> Hi,
>>
>> I'm trying to configure Bind in such a way that a query for non-FQDN
>> will resolve to a particular FQDN. For example, a dig for host should be
>> translated to the FQDN host.domain.com and the IP for host.domain.com
>> should then be returned as the answer to the query.
>>
>> Is this possible and how can it be done?
> 
> 	That's the resolver's job...  You need to add a search path
> 	in your client's resolver.
> 

For a specific reason, this needs to be done at the server level. The
client in this case is actually a device, not a workstation, that is
configured to use the hostname portion only.

> 
> 	How would you deal with "mailserver.domain1.com" and "mailserver.domain2.com" ?
> 

I need to only deal with one domain here.

> 	You _might_ be able to make a gross hack work with DNAME, but
> 	I don't think you will be able to cover all cases anyway.
> 

What is the syntax for a DNAME configuration?


Regards,

Tawanda



More information about the afnog mailing list