Hello,
I posted last week with a problem whereby Netscape was unable to accept
a canonical name for a news or http address on our local subnet from my
SPARC IPC running SunOS 4.1.4.
I only run a caching named, since I am not yet in the DNS though the machine
could telnet and ftp etc. but WWW and news services via netscape wanted a
numerical address for local access on my subnet.
The system has the resolv+ libraries installed and also uses the libc with DNS
lookup features...
Last week I posted a summary-to-date, with some possible answers.
None of the answers solved my problem,
but the solution turned out to be the addition of a "named.hosts"
file, giving the gateway machine (a linux 486) the job of being the authority
for my network.
Now many networking problems have been solved, including hostname resolution
for local machines using sendmail, and certain X window system apps
needing the -dsiplay variable set before they would work.
Here is what the files look like - keep in mind I am not in the DNS,
and therefore the nameservice is only for local use.
; Boot file for virago caching name server
;
directory /var/named
;
; type domain source file or host
cache . root.cache
primary virago.org.au named.hosts
; end of named.boot
;
; /var/named/named.hosts local hosts at virago
; Origin is virago.org.au
;
@ IN SOA janis.virago.org.au. rachel.virago.org.au. (
16 ;serial
86400 ;refresh: once a day
3600 ;retry: every hour
3600000 ;expire: 42 days
604800 ;minimum: 1 week
)
IN NS janis.virago.org.au.
;
; local mail is distributed on virago
IN MX 10 janis
;
; loopback address
localhost. IN A 127.0.0.1
; virago Ethernet
janis IN A 192.168.100.111
; janis is our news, www and ftp server
;
news IN CNAME janis
www IN CNAME janis
ftp IN CNAME janis
;
kate IN A 192.168.100.100
lyvvie IN A 192.168.100.101
juno IN A 192.168.100.102
;
; end of named.hosts
I hope no one sees too much wrong with this setup.
It seems to work rather well, with full name resolution on my local subnet,
and the caching named handling my subnet requests for
the internet as well (via SLIP)
Rachel
-- Rachel Polanskis Kingswood, Greater Western Sydney, Australia grove@zeta.org.au http://www.zeta.org.au/~grove/grove.html r.polanskis@nepean.uws.edu.au http://www.nepean.uws.edu.au/library/ "When the revolution comes, I will be shot by both sides"
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:00 CDT