1841624 Members
3964 Online
110182 Solutions
New Discussion

Configuring DNS

 
David Grant
Occasional Contributor

Configuring DNS

I have a lone HP9000-800 system running 10.20 totally surrounded by hostile NT servers and a WINS network. Trouble is my users want to use sendmail to others in the WINS domain. I've been told I need to add my HP server into the NT Domain but I'm not too sure how to go about it. I've had a look at the on-line help and browsed the technical knowledge base for some hints but I'm no more sure than when I started......can anyone help me? I think I only need to set up the HP server to obtain DNS lookup info from the main NT DNS host.....
Endeavour to persevere........
4 REPLIES 4
Rick Garland
Honored Contributor

Re: Configuring DNS

You can add a Smart Host entry which will direct the HP system to send the mail to a specific box which will then do the resolution. Look at the DS macro.

For HP-UX 10.20, the highest version DNS will go that is supported by HP is 4.9.7
Dan Hetzel
Honored Contributor

Re: Configuring DNS

Hi David,

Edit your /etc/resolv.conf adding the following lines

domain your.domain.name.com
nameserver xxx.xxx.xxx.xxx

Replace the xxx with the IP address of the NT server and add a second line if you have 2 name servers.

Edit your /etc/nsswitch.conf as shown :

hosts: files [TRYAGAIN=continue NOTFOUND=continue] dns

#man 4 resolver
#man 4 switch
will give you details


Dan

Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
HPP
Regular Advisor

Re: Configuring DNS

test sendmail on UNIX by following command:
#sendmail -v valid_acount@yourNTDoamin.com

Then type something and at the new line enter "." and enter. Then check does mail gets delivered to NT box.



Be Teachable
HPP
Regular Advisor

Re: Configuring DNS

Also edit /etc/mail/sendmail.cf and Look for pattern Dj$w.Foo.com, and uncomment this line and change the Foo.com to your domain name.

Cheers...
Be Teachable