[afnog] Resolve non-FQDN with Bind

Phil Regnauld regnauld at x0.dk
Thu Oct 18 21:36:08 UTC 2007


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.


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

	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.




More information about the afnog mailing list