Re: DNS domain in resolv.conf

From: Lamar Saxon (Lamar.Saxon_at_AMERICREDIT.COM)
Date: 03/31/05

  • Next message: ChunGuang Yuan: "about bufstructs?"
    Date:         Thu, 31 Mar 2005 08:26:52 -0600
    To: aix-l@Princeton.EDU
    
    

    Yes you can do this; but not using the domain keyword instead use the
    search option. Your resolv.conf entry would look like:

    nameserver 127.0.0.1
    nameserver 192.168.0.1
    domain mydomain.com
    search mydomain.com yourdomain.com hisdomain.com

    Just add as many search domains as necessary. The resolver will check
    the first domain suffix followed by the second domain suffix and etc...
    If you use FQDN, the search option is not used.

    A quick note, you should make sure the search comes AFTER the domain
    option in the /etc/resolv.conf...

    Lamar

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Drew T
    Sent: Thursday, March 31, 2005 8:06 AM
    To: aix-l@Princeton.EDU
    Subject: DNS domain in resolv.conf

    Hello,

    Is it possible to habe multiple entries in the /etc/resolv.conf file for
    the domain? Currently our DNS servers are running on Windows (I know, I
    know) and we are in the process of changing the domain name. We would
    like
    to have an entry in the resolv.conf file for both domain names, the new
    one
    and the old one.

    Is this possible?

    Thanks in advance,

    Drew

    This email is confidential and intended solely for the use of the
    individual or entity to whom it is addressed. If you have received this
    email in error please notify the system manager at mailadmin@bisys.com
    and
    delete the email immediately.

    Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.


  • Next message: ChunGuang Yuan: "about bufstructs?"

    Relevant Pages

    • Re: DNS domain in resolv.conf
      ... Your resolv.conf entry would look like: ... the search option is not used. ... Drew T ... please notify me immediately by a return e-mail and delete this ...
      (AIX-L)
    • Re: DNS domain in resolv.conf
      ... Lamar Saxon ... Subject: DNS domain in resolv.conf ... the search option is not used. ... please notify me immediately by a return e-mail ...
      (AIX-L)