Hello,
I am new to the forum but have been running a FreeBSD web server for about 10 years. The good thing is that it runs so well I rarely has to mess with it. The bad thing is when I do, I have forgotten most of what I need to know in order to make changes.
I recently moved my DNS. I do not run NAT and have all my work stations configured with IP addresses and the new DNS IP's. I added the new DNS IP's to resolv.conf and my hosts files. I seem to have missed something because when doing a nslookup I get the following error;
An
Here is my other info, I hope I formatted things right. Please let me know if you need more info. Thank you so much for the help!
Part of named.conf
The hosts file:
I am new to the forum but have been running a FreeBSD web server for about 10 years. The good thing is that it runs so well I rarely has to mess with it. The bad thing is when I do, I have forgotten most of what I need to know in order to make changes.
I recently moved my DNS. I do not run NAT and have all my work stations configured with IP addresses and the new DNS IP's. I added the new DNS IP's to resolv.conf and my hosts files. I seem to have missed something because when doing a nslookup I get the following error;
Code:
$ nslookup http://www.texasfloorcovering.com/
*** Can't find server name for address 205.178.190.13: Server failed
*** Can't find server name for address 206.188.198.13: Server failed
Server: localhost.texasfloorcovering.com
Address: 127.0.0.1
Name: http://www.texasfloorcovering.com/
Address: 216.215.92.242
An
nslookup
from outside my network resolves just fine so I am sure I have missed something simple. Here is my other info, I hope I formatted things right. Please let me know if you need more info. Thank you so much for the help!
Code:
$ more resolv.conf
domain texasfloorcovering.com
nameserver 205.178.190.13
nameserver 206.188.198.13
nameserver 127.0.0.1
Part of named.conf
Code:
// Also, make sure to enable it in /etc/rc.conf.
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};
zone "texasfloorcovering.com" {
type master;
file "tfc1.hosts";
};
//zone "136/29.9.69.12.IN-ADDR.ARPA" IN {
// type master;
// file "reverse.tfc1";
//};
The hosts file:
Code:
$ more tfc1.hosts
;
; File: /etc/namedb/tfc1.hosts
; Comment: Host name to ip address mapping file
texasfloorcovering.com. IN SOA tfc1.texasfloorcovering.com. root.texasfloorcoveri
ng.com. (
2010010820 ; Serial number
28800 ; Refresh
600 ; Retry
36000 ; Expire
86400 ) ; Minimum
;
; Name Servers
;
;texasfloorcovering.com. IN NS ns25.worldnic.com. ; Primary ns
;
texasfloorcovering.com. IN NS ns25.worldnic.com. ; Primary ns
texasfloorcovering.com. IN NS ns26.worldnic.com. ; Secondary ns
;
;
; Other Hosts
;
;texasfloorcovering.com. IN MX 0 inbound.texasfloorcovering.com.netsolmail.net.
;
tfc1.texasfloorcovering.com. IN A 216.215.92.242
texasfloorcovering.com. IN A 216.215.92.242
www.texasfloorcovering.com. IN A 216.215.92.242
ftp.texasfloorcovering.com. IN A 216.215.92.242
ns25.worldnic.com. IN A 205.178.190.13
ns26.worldnic.com. IN A 206.188.198.13
;faith.logixcom.net. IN A 216.201.128.10
;meredith.logixcom.net. IN A 66.196.216.10
localhost A 127.0.0.1