Operating System - HP-UX
1753806 Members
8300 Online
108805 Solutions
New Discussion юеВ

Multiple domains using short name resolution vs FQDN

 
Kathleen
Regular Advisor

Multiple domains using short name resolution vs FQDN

I am not sure how to get this working. We have it setup so that the name of our mail server is something like mail.abc.def. If we type in nslookup on mail, it comes back with mail.abc.def and the ip. It resolves on the dns just using mail.
We have just recently added a few new servers and our boss wants to use the domain admin.com for internal resolution. He wants to be able to do that same short name resolution. Is there a way to setup so that both domains resolve to the short name? Right now we need to do the FQDN to get the admin.com entries to resolve. Please help!
Thanks
6 REPLIES 6
Kathleen
Regular Advisor

Re: Multiple domains using short name resolution vs FQDN

we got it to work using a CNAME entry....
Suresh Patoria
Super Advisor

Re: Multiple domains using short name resolution vs FQDN

Hi,
It will work

make new alias using the parameter CNAME

thanx
Kenneth Platz
Esteemed Contributor

Re: Multiple domains using short name resolution vs FQDN

Add the following line to your /etc/resolv.conf file:

search abc.def admin.com

That will cause your DNS searches to search the abc.def domain first, followed by the admin.com domain.

Share & enjoy.
I think, therefore I am... I think!
Steven E. Protter
Exalted Contributor

Re: Multiple domains using short name resolution vs FQDN

Its actually a combination of all prior posts

here is an example of the cname

servername domainname.com.


will resolve servername
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kathleen
Regular Advisor

Re: Multiple domains using short name resolution vs FQDN

it did work using the cname entry. I updated my post with that after I figured it out....its a wonderful thing now! Works beautiful
Kathleen
Regular Advisor

Re: Multiple domains using short name resolution vs FQDN

I appreciate all the feedback...thanks :)