Web Hosting Talk







View Full Version : Fool groping in the dark - gagged and BIND! :)


MotleyFool
10-19-2002, 07:45 AM
Hello Friends,

I am administering a server which has resolutely refused to co-operate with me on one issue.

I am trying to set up a loopback for localhost and I have set up a named zone 127.0.0.db and I have added the required SOA , NS and PTR record to localhost.

---
$TTL 86400
@ IN SOA myserver.mydomain.com. hostmaster.mydomain.com. (
2000091401 ; Serial Number
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Negative TTL

IN NS myserver.mydomain.com.
IN NS otherserver.mydomain.com.

1 IN PTR localhost.
----

I have also added this zone in the named.conf file but I keep getting "Cant find PTR record for 127.0.0.1" from the .fr registrar

Any help from BIND experts leading this blind expert would be appreciated!

BTW it is BIND 9.1 on a RH Linux cpanel server

Thanks
Balaji

dandanfirema
10-19-2002, 10:51 AM
Just add this to your /etc/hosts
127.0.0.1 localhost

PHBPendragon
10-19-2002, 11:45 AM
Look your resolver, too. /etc/resolv.conf and /etc/nsswitch.conf

MotleyFool
10-19-2002, 01:57 PM
Thanks for taking the time to read this and answer but it doesn't work :(

dandan , its already there in /etc/hosts
PHB,

nameserver 127.0.0.1 is there in /etc/resolv.conf [I have also tried it with nameserver main.ip ]

what should i put in /etc/nssswitch.conf?

thanks again :)

PHBPendragon
10-19-2002, 02:04 PM
Running FreeBSD ?

man resolv.conf

or

nameserver 127.0.0.1
search somedom.com anotherdom.com

MotleyFool
10-21-2002, 03:12 AM
PHB,

I am somewhat aware of the man command and yes I have RFTMed and posted in mailing lists and all.

No use.. I am moving onto other problems in life!

Cheers
Balaji