Results 1 to 2 of 2
Hybrid View
-
04-10-2010, 03:43 AM #1Junior Guru Wannabe
- Join Date
- Dec 2007
- Posts
- 64
Bind Centos: dig: couldn't get address
on my BIND9.x centos5.x machine i still have some problems
with configuration of the DNS.
if i type:
# dig @ns1.server.net domain.com NS
dig: couldn't get address for 'ns1.server.net': not found
The question is do i need to set up a zone fore ns1.server.net?
cos,i do have one for server.net which looks like this:
$ttl 86400
@ IN SOA ns1.server.net. root.localhost. (
2010041002;
28800;
7200;
604800;
86400 );
NS ns1.server.net. ;
NS ns2.server.net. ;
MX 10 ns1.server.net. ;
www A 11.11.11.111
ns1 A 11.11.11.111
ns2 A 22.22.22.222
server.net. A 11.11.11.111
*.server.net. A 11.11.11.111
server.net. TXT "v=spf1 a mx ~all"
ns1.server.net. TXT "v=spf1 a -all"
the strangest thing is that if i do the same but than on the second server (ns2)
# dig @ns1.server.net domain.com NS
it will return info like is should...
any ideas?
-
04-10-2010, 10:00 AM #2Web Hosting Guru
- Join Date
- Nov 2003
- Location
- Kherson, Ukraine
- Posts
- 267
Check your /etc/resolv.conf
Put follow line if you using own DNS only
nameserver 127.0.0.1Private remote administrator of Linux servers - www.petrov.ks.ua
Quality hosting - Host-Web-Site.com
Similar Threads
-
My CentOS 5 Bind Installation Commands - Correct?
By Tertsi in forum Hosting Security and TechnologyReplies: 10Last Post: 12-16-2007, 05:16 AM -
98)Address already in use: make_sock: could not bind to address [::]:443
By whdev in forum Hosting Security and TechnologyReplies: 5Last Post: 08-08-2007, 01:04 AM -
HOWTO? Bind an IP address to a folder
By spitfire in forum Hosting Security and TechnologyReplies: 12Last Post: 01-14-2007, 02:11 PM -
Couldn't bind ns2.mydomain.com with ip address
By ferzan in forum Hosting Security and TechnologyReplies: 1Last Post: 10-31-2004, 02:14 PM -
[crit] (98)Address already in use: make_sock: could not bind to port 80
By blacknight in forum Hosting Security and TechnologyReplies: 7Last Post: 08-12-2003, 09:09 PM