SUMMARY:localhost,DNS,SunOS

From: Gokhan Ozkan (Gokhan.Ozkan@raksnet.com.tr)
Date: Tue Nov 26 1996 - 06:05:03 CST


I was unable to resolve localhost (127.0.0.1) on my SunOS 4.1.4 which is a
secondary name server. I had compiled my shared libraries and they seemed
to work fine wile rsolving any other name except localhost.

Now the solution, a name server is always primary for localhost. This is
OK. You should define fake zones inorder to succeed this.
What I have done is :
primary LOCALHOST localhost
primary 0.0.127.IN_ADDR_ARPA named.local

put these lines in my named.boot

then in localhost file :

 ;fake zonefile for LOCALHOST.
 ;
 @ 604800 IN SOA LOCALHOST. root.virgo.raksnet.com.tr. (
                                         96112505 ; Serial
                                         7200 ; refresh every 2 hours
                                         7200 ; retry every 2 hours
                                         12096000 ; expire in 20 weeks
                                         86400 ) ; minimum

         604800 IN NS virgo.raksnet.com.tr.

localhost. IN A 127.0.0.1

These had cured my problem. Thanx to David Pope for his correct answer.

virgo%
Gokhan OZKAN
Network Administrator
e-mail : Gokhan.Ozkan@raksnet.com.tr



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:16 CDT