hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Bind Centos: dig: couldn't get address
Reply

Forum Jump

Bind Centos: dig: couldn't get address

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-10-2010, 03:43 AM
timmyd timmyd is offline
Junior Guru Wannabe
 
Join Date: Dec 2007
Posts: 55

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?



Sponsored Links
  #2  
Old 04-10-2010, 10:00 AM
vapetrov vapetrov is offline
Web 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.1

__________________
Private remote administrator of Linux servers - www.petrov.ks.ua
Quality hosting - Host-Web-Site.com

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
My CentOS 5 Bind Installation Commands - Correct? Tertsi Hosting Security and Technology 10 12-16-2007 05:16 AM
98)Address already in use: make_sock: could not bind to address [::]:443 whdev Hosting Security and Technology 5 08-08-2007 01:04 AM
HOWTO? Bind an IP address to a folder spitfire Hosting Security and Technology 12 01-14-2007 02:11 PM
Couldn't bind ns2.mydomain.com with ip address ferzan Hosting Security and Technology 1 10-31-2004 02:14 PM
[crit] (98)Address already in use: make_sock: could not bind to port 80 blacknight Hosting Security and Technology 7 08-12-2003 09:09 PM

Related posts from TheWhir.com
Title Type Date Posted
RemoteDesktop.com Listing 2014-04-23 23:31:42
Red Hat Takes Active Role in CentOS Project to Drive New Technology Adoption Web Hosting News 2014-01-08 12:00:22
Solar VPS Becomes Official Mirror for Centos and Ubuntu Web Hosting News 2013-04-16 11:03:34
Web Host Rackspace Adds FreeBSD 9, CentOS 6.3 Support to Cloud Servers Web Hosting News 2012-07-30 12:47:10
Web Host ServerPronto Donates Hosting Resources to CentOS Web Hosting News 2012-07-05 14:06:27


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?