home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!spool.mu.edu!umn.edu!umeecs!nova!ellis
- From: ellis@nova.gmi.edu (Stew Ellis)
- Subject: Re: DNS - Please help.
- Message-ID: <ellis.725110065@nova>
- Sender: news@zip.eecs.umich.edu (Mr. News)
- Organization: GMI Engineering&Management Institute, Flint, MI
- References: <1h8g7qINN6ga@bigboote.WPI.EDU>
- Date: Wed, 23 Dec 1992 11:27:45 GMT
- Lines: 71
-
- broberts@wpi.WPI.EDU (broberts) writes:
-
- >I am hoping you can help me with a problem. I realize that this may have
- >been discussed a few hundred times, but I really need the help.
- >
- > Thanks.
- >The enviorment:
-
- > 1 SUN 4/360 server - NFS NIS
- > 1 SUN 3/60 server - NFS
- > 4 SUN 1+ NFS/NIS Clients
- > 8 SUN IPC NFS/NIS Clients
- > 1 SUN 1+ Internet slip DIALUP only gateway - MAIL SERVER
-
- > All of the sun's are running SunOs 4.1.1
-
- >The problem:
-
- > I have run through all of the steps to get DNS running correctly
- > for the outside world only. It works correctly on the 4/360
- > it works fine on 1 IPC. It works fine on the 1+ to the internet.
- > The rest of the machines have various problems with it.
-
- > A few of the IPC's can't send outgoing mail when configured for
- > DNS all of thir messages are returned by our mail server saying
- > undeliverable. When reconfigured without DNS their mail goes out
- > fine.
-
- > The 1+'s and the rest of the IPC's have a problem with internal
- > addresses when configured for DNS - They don't see anyone inside
- > the bldg, but can ping the hell out of sun.com.
-
- >/etc/resolv.conf has the following line in it.
-
- >order nis,local,bind.
- > Any help will be greatly appreciated.
-
- > Thanks
-
- Your NIS server needs to be your DNS server as well. Our setup has local
- name service tables running on our NIS server and all is well. In addition,
- if you are running stock Sun, you need to uncomment the B=-b in the yp
- makefile ( /var/yp/Makefile in our case). TFM says also that you should run
- ypserv -d in your rc.local, but I have been told that this is not necessary
- by some people, and by others that I should be running ypserv -i (an
- undocumented feature of SunOS4.0.3). Go with ypserv -d. Another unusual
- feature of Sun's DNS is that you have to have /etc/resolv.conf on your
- primary DNS server, as well as on all of the clients.
-
- Finally, the above resolve.conf line has no place on a stock Sun
- installation. It might be part of resolv+, but if someone has hacked
- resolv+ into your site, then you may be on your own getting all of the
- pieces of NIS and DNS to hang together properly. I have the stock Sun stuff
- working just fine.
-
- resolv.conf should look like:
-
- domain your.domain
- nameserver IP_address_of_primary_nameserver
- nameserver IP_address_of_secondary_nameserver
-
- You need a resolv.conf on every machine in your net.
-
- Hope this works for you.
-
-
- --
- -- ___________________
- R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765 / _____ ______
- Humanities & Social Science, GMI Eng.& Mgmt. Inst. / / / / / /
- Flint, MI 48504 ellis@nova.gmi.edu /________/ / / / /
-