<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Name Resolution in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026426#M574129</link>
    <description>In /etc/resolv.conf do you have a line which starts with domain?  If it says&lt;BR /&gt;domain .ghi&lt;BR /&gt;&lt;BR /&gt;then if you ask it for mail it will tack on .ghi and get mail.ghi which won't work.  If the DNS is serving multiple subdomains then you're probably out of luck but if it only serves abc.def.ghi then adding (or changing) the line to read&lt;BR /&gt;domain abc.def.ghi&lt;BR /&gt;&lt;BR /&gt;will fix that problem.&lt;BR /&gt;&lt;BR /&gt;You can also use the search line:&lt;BR /&gt;&lt;BR /&gt;search abc.def.ghi def.ghi .ghi&lt;BR /&gt;&lt;BR /&gt;to get it to try adding on the correct domain tag.  You can use this when it serves multiple domains as long as there are only 6 and the names don't overlap (you can't have mail.abc.def.ghi and mail.jkl.def.ghi.  You only get 6 choices and the order tried is from left to right.  A match stops the search.  Works in 4.8.3 and newer.&lt;BR /&gt;&lt;BR /&gt;the search line and default line override each other so the last one in resolv.conf wins.&lt;BR /&gt;&lt;BR /&gt;Ron&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 17 Jul 2003 14:23:37 GMT</pubDate>
    <dc:creator>Ron Kinner</dc:creator>
    <dc:date>2003-07-17T14:23:37Z</dc:date>
    <item>
      <title>Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026415#M574118</link>
      <description>We made a change to our email server (Openmail 7.0 running on HP-UX 11.0) that involved an IP address change.  We wanted to try and somehow set it up on our dns to automatically redirect the windows clients there were still pointing to the old external IP address to the new internal address....but I guess that can't be done.   &lt;BR /&gt;So....now what we would like to do is allow the users to type in the name of the server.  In the dns it is setup as mail.abc.def.ghi&lt;BR /&gt;What we would like our users to be able to do is just be able to type in a simple mail address reference and not all the extra abc.def.ghi&lt;BR /&gt;Can that be done somehow?</description>
      <pubDate>Thu, 17 Jul 2003 13:23:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026415#M574118</guid>
      <dc:creator>Kathleen</dc:creator>
      <dc:date>2003-07-17T13:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026416#M574119</link>
      <description>Edit /etc/resolv.conf..&lt;BR /&gt;domainname abc.def.ghi&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2003 13:30:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026416#M574119</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-07-17T13:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026417#M574120</link>
      <description>Kathleen,&lt;BR /&gt;&lt;BR /&gt;The fastest way to accomplish what you are wanting is to add this information to the host file in the Windoze machines.&lt;BR /&gt;&lt;BR /&gt;Of course, this may not be feasible depending on how many M$ machines you have to redirect.&lt;BR /&gt;&lt;BR /&gt;Other than that, the best way would be to have the DNS fully resolve the host name both forward and backward (host name to IP and IP to hostname).  As long as the client PCs and the Mail host is in the same domain it should be no problem if everything is set up correctly.&lt;BR /&gt;&lt;BR /&gt;For example, we have many routers and servers on our system named something like ???router1.ourdomain.com??? or ???server1.ourdomain.com???.  All I need to type to get to router 1 is simply ???telnet router1???.  It works ever time here???&lt;BR /&gt;&lt;BR /&gt;Once again, if I have missed something then I???m sure these fine gurus will be happy to point it out  ;-)</description>
      <pubDate>Thu, 17 Jul 2003 13:36:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026417#M574120</guid>
      <dc:creator>John Collier</dc:creator>
      <dc:date>2003-07-17T13:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026418#M574121</link>
      <description>John, the getting it to telnet or connect like you can to just router1 is the problem I am having.  I can telnet to mail.ourdomain whatever, but not to just mail&lt;BR /&gt;&lt;BR /&gt;What am I missing????</description>
      <pubDate>Thu, 17 Jul 2003 13:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026418#M574121</guid>
      <dc:creator>Kathleen</dc:creator>
      <dc:date>2003-07-17T13:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026419#M574122</link>
      <description>John, the getting it to telnet or connect like you can to just router1 is the problem I am having.  I can telnet to mail.ourdomain whatever, but not to just mail&lt;BR /&gt;&lt;BR /&gt;What am I missing????</description>
      <pubDate>Thu, 17 Jul 2003 13:48:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026419#M574122</guid>
      <dc:creator>Kathleen</dc:creator>
      <dc:date>2003-07-17T13:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026420#M574123</link>
      <description>John, that is exactly what we are looking to do.  Instead of mail.ourdomain we want the users to be able to use simply mail.....to telnet or use that to connect with the email clients.&lt;BR /&gt;&lt;BR /&gt;how do we do that???&lt;BR /&gt;&lt;BR /&gt;Right now, we can only get it to work with mail.ourdomain</description>
      <pubDate>Thu, 17 Jul 2003 13:57:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026420#M574123</guid>
      <dc:creator>Kathleen</dc:creator>
      <dc:date>2003-07-17T13:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026421#M574124</link>
      <description>Kathleen,&lt;BR /&gt;&lt;BR /&gt;Are all of the workstations part of the same domain as the mail server?  Do they all resolve names through the same DNS servers?&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2003 14:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026421#M574124</guid>
      <dc:creator>John Collier</dc:creator>
      <dc:date>2003-07-17T14:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026422#M574125</link>
      <description>yes they do, John</description>
      <pubDate>Thu, 17 Jul 2003 14:04:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026422#M574125</guid>
      <dc:creator>Kathleen</dc:creator>
      <dc:date>2003-07-17T14:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026423#M574126</link>
      <description>and yes they are....sorry I didn't say that the first time.</description>
      <pubDate>Thu, 17 Jul 2003 14:06:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026423#M574126</guid>
      <dc:creator>Kathleen</dc:creator>
      <dc:date>2003-07-17T14:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026424#M574127</link>
      <description>Kathleen,&lt;BR /&gt;&lt;BR /&gt;What happens when you bring up a command prompt on one of the Windoze boxes and type ???nslookup mail??? or ???nslookup mail.yourdomain??? or ???nslookup  &lt;MAIL_SERVER_IP&gt;????&lt;BR /&gt;&lt;BR /&gt;Do you get all of them resolved to both a DNS name and an IP address?  If not, then it would be time to speak to the DNS Admins about cleaning up the DNS servers.&lt;BR /&gt;&lt;/MAIL_SERVER_IP&gt;</description>
      <pubDate>Thu, 17 Jul 2003 14:20:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026424#M574127</guid>
      <dc:creator>John Collier</dc:creator>
      <dc:date>2003-07-17T14:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026425#M574128</link>
      <description>IP works, mail.mydomain works....the only one that doesn't work is mail&lt;BR /&gt;&lt;BR /&gt;We are trying to figure out how to get that working.</description>
      <pubDate>Thu, 17 Jul 2003 14:23:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026425#M574128</guid>
      <dc:creator>Kathleen</dc:creator>
      <dc:date>2003-07-17T14:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026426#M574129</link>
      <description>In /etc/resolv.conf do you have a line which starts with domain?  If it says&lt;BR /&gt;domain .ghi&lt;BR /&gt;&lt;BR /&gt;then if you ask it for mail it will tack on .ghi and get mail.ghi which won't work.  If the DNS is serving multiple subdomains then you're probably out of luck but if it only serves abc.def.ghi then adding (or changing) the line to read&lt;BR /&gt;domain abc.def.ghi&lt;BR /&gt;&lt;BR /&gt;will fix that problem.&lt;BR /&gt;&lt;BR /&gt;You can also use the search line:&lt;BR /&gt;&lt;BR /&gt;search abc.def.ghi def.ghi .ghi&lt;BR /&gt;&lt;BR /&gt;to get it to try adding on the correct domain tag.  You can use this when it serves multiple domains as long as there are only 6 and the names don't overlap (you can't have mail.abc.def.ghi and mail.jkl.def.ghi.  You only get 6 choices and the order tried is from left to right.  A match stops the search.  Works in 4.8.3 and newer.&lt;BR /&gt;&lt;BR /&gt;the search line and default line override each other so the last one in resolv.conf wins.&lt;BR /&gt;&lt;BR /&gt;Ron&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2003 14:23:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026426#M574129</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2003-07-17T14:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026427#M574130</link>
      <description>using just nslookup mail works on the dns...I think because there is referrence to it in the hosts files.  But we still cannot telnet using just mail.  We need to use mail.mydomain</description>
      <pubDate>Thu, 17 Jul 2003 14:29:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026427#M574130</guid>
      <dc:creator>Kathleen</dc:creator>
      <dc:date>2003-07-17T14:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026428#M574131</link>
      <description>In regard to the /etc/resolv.conf  file....are you talking in regard to the dns or the mail server, specifically</description>
      <pubDate>Thu, 17 Jul 2003 14:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026428#M574131</guid>
      <dc:creator>Kathleen</dc:creator>
      <dc:date>2003-07-17T14:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026429#M574132</link>
      <description>Ok....new finding.  We can telnet to mail from any of our unix servers.  When we try to telnet mail from within windows, it doesn't work.....&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Thu, 17 Jul 2003 14:50:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026429#M574132</guid>
      <dc:creator>Kathleen</dc:creator>
      <dc:date>2003-07-17T14:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026430#M574133</link>
      <description>Kathleen,&lt;BR /&gt;&lt;BR /&gt;If you can do what you want from any of the Unix boxes but can???t from the Windoze machines, then what worked for the Unix boxes will also work for the Windoze machines.  I am, of course, referring to an entry in the ???hosts??? file on each of the M$ machines.&lt;BR /&gt;&lt;BR /&gt;If yours is a small company with only a small handful of these types of systems, then this will not be a major undertaking for your M$ System Admins.  If it is a large company, then perhaps your Domain Admins could write a script (or batch file as they are usually referred to in M$ speak) to automatically update each machines??? host file.&lt;BR /&gt;&lt;BR /&gt;This would be a workable solution if nothing better comes along.&lt;BR /&gt;&lt;BR /&gt;If your DNS is hosted on a HPUX box, this thread may be helpful to you:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x151e8f960573d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x151e8f960573d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I???m searching for the host-file information on the Windoze machines right now???&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2003 15:59:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026430#M574133</guid>
      <dc:creator>John Collier</dc:creator>
      <dc:date>2003-07-17T15:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026431#M574134</link>
      <description>The window hosts files on 2000 and probably XP are in winnt\system32\drivers\etc.&lt;BR /&gt;&lt;BR /&gt;If you make the resolve.conf change then it should work without an entry in hosts if you have restarted the dns server after making the change.&lt;BR /&gt;&lt;BR /&gt;You could set up a WINS box on the network to make it easier for your window boxes to find hosts or just check use DNS in the advanced network setup.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Thu, 17 Jul 2003 16:45:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026431#M574134</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2003-07-17T16:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026432#M574135</link>
      <description>What version of DNS? Apologies if I missed where you posted that.&lt;BR /&gt;&lt;BR /&gt;In your DNS host information file, you need to define the mail server in an A record by IP address at the DOMAIN level.  This should be one of the first lines right after your SOA record.&lt;BR /&gt;&lt;BR /&gt;You can then setup a cname in the same file as "mail.domain.com".  You will also need a reverse address setup in the in-addr.arpa domain.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You need to have a "domain" statement in your /etc/resolv.conf file to specify the default domain.  Then go back and make sure that the fully qualified name in the DNS host file ends with a period, so the domain isn't tacked on a second time by named.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2003 17:04:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026432#M574135</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-07-17T17:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026433#M574136</link>
      <description>Sorry, I knew I was going to miss something.&lt;BR /&gt;&lt;BR /&gt;This part:&lt;BR /&gt;&lt;BR /&gt;"Then go back and make sure that the fully qualified name in the DNS host file ends with a period, so the domain isn't tacked on a second time by named."&lt;BR /&gt;&lt;BR /&gt;applies only to CNAME records, obviously.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Thu, 17 Jul 2003 17:06:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026433#M574136</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2003-07-17T17:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Name Resolution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026434#M574137</link>
      <description>Kathleen,&lt;BR /&gt;&lt;BR /&gt;Here???s what I found on the Windoze host files:&lt;BR /&gt;&lt;BR /&gt;Try to locate any existing hosts file on your computer: &lt;BR /&gt;Windows 95/98/Me c:\windows\hosts &lt;BR /&gt;Windows NT/2000/XP Pro  c:\winnt\system32\drivers\etc\hosts &lt;BR /&gt;Windows XP Home c:\windows\system32\drivers\etc\hosts &lt;BR /&gt;(you will need administrator access for Windows NT/2000/XP) &lt;BR /&gt;From there you should be able to find something along the lines of either ???lmhosts.sam??? or ???hosts.sam??? or simply a file named ???hosts???.&lt;BR /&gt;&lt;BR /&gt;If you have a files simply named ???hosts??? then you are already using a host file on that machine and you just need to add the information you want the machine to act on to the end of that file.  Before you make these changes, it would be highly recommended to make a backup copy of the original ???hosts??? file.&lt;BR /&gt;&lt;BR /&gt;If it is something like ???lmhosts.sam??? then you are currently not using the host file on that machine and you will want to open the file, add your entries to it, and then do a ???Save As?????? to save the file with the name ???hosts??? (with no extension of any kind).&lt;BR /&gt;&lt;BR /&gt;You can easily open and edit the above files using M$ Notepad ({Shitf+Right_Mouse_Button} and then select ???Open With??? from the dropdown tab or you can simply double-click on it and then choose ???Notepad??? from the options that come up)&lt;BR /&gt;&lt;BR /&gt;When you finally do get this resolved, please let us know exactly what you did to resolve this issue (a few points would be appreciated as well ;-)</description>
      <pubDate>Thu, 17 Jul 2003 17:13:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/name-resolution/m-p/3026434#M574137</guid>
      <dc:creator>John Collier</dc:creator>
      <dc:date>2003-07-17T17:13:48Z</dc:date>
    </item>
  </channel>
</rss>

