It works on a single configuration file. I call it h2n.conf.
Syntax of the file:
-s server_name (DNS server name)
-d domain_name (Domain name)
-n network (Network 1)
-n network (Network 2)
-n network (Network 3)
-y (Create serial number)
-M (Don't create MX record, there a better ways to deal
with this)
I would suggest NOT using the /etc/hosts file for DNS. It is not cached nor do
I think "nslookup" works with it.
Don't use it.
SCO has an option used in /etc/resolv.conf that allows search sequences i.e.
/etc/hosts bind nis. Similiar to Solaris nsswitch or BSD /etc/hosts.conf
The h2n perl scipt uses the /etc/hosts file for data by default.
Don't forget to setup /etc/resolv.conf
The h2n script creates all its data in the directory it was executed. I would
suggest A symbolic link of the named.boot file
ln -s /etc/named.d/named.boot /etc/named.boot
This h2n scripts works fine for OSR5.0.5 also(bind 8).
Search the net for the script. I won't post to the newsgroup but if you can't
find it I will forward it.
kewl
1) Do the NT boxes need to be able use DNS to identify other machines on the
local network? If not then you can set their DNS settings up to point to your
ISP's DNS servers directly, although this may give you some rogue dial-ups.
What I've done here is to set up a DNS serveice but not bother to the put the
PC's in. The PC's seems to know each other's names via WINS/NetBIOS, and the
SCO box relies on /etc/hosts locally. All that is in the local DNS is the unix
box and the gateway, plus a couple of non-windows machines.
2) Easy!
I would have a search through deja.com and look for previous articles posted
on DNS on this newsgroup. One of them was a posting by me that includes my DNS
setup, which you could base yours on. One other thing, get a cope of nslint
which is a utility to check DNS configuration sanity. Very useful!
Good luck!
--
Mike Kenyon <mke...@promtek.com> Software Engineer for Promtek Ltd
If the DNS works OK when you use the resolv.conf file, except for external
look-ups, then it sounds like you've left out the root.cache file... In the
named.boot file you need a line like
cache root.cache
and then in the named directory have a copy of the default root.cache file.
If you have a look on the SCO web-site there is a pretty good technical
artical, but I can't remember the TA number... Just search for nameserver.
Regards,
Kev.
Tom Fuchs <to...@edmo.com> wrote in message
news:80cdct$7og$1...@spk-news1.nwnexus.com...
> I have a SCO 5.0.0 Unix Server on an NT network. I am trying to configure
> DNS on the SCO box. All addresses on my internal network have the same
> subnetmask. I have one router that acts as the gateway between my
internal
> network and the internet. I would like to configure DNS on the SCO box
to:
> 1) Resolve names on the local network via the /etc/hosts file.
> 2) Direct names that cannot be resolved out through my gateway.