DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 17th, 2004, 03:12 AM
rev909 rev909 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 21 rev909 User rank is Private First Class (20 - 50 Reputation Level)rev909 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 h 49 m 31 sec
Reputation Power: 0
Send a message via Yahoo to rev909
Problems setting up a wildcard DNS on Sun Cobalt Raq 550

Hello. To make it short here's my problem:

I have a domain (doowap.net) and I wish to add a wildcard DNS for this domain.

The db.doowap.net file looks like this:

Code:
; db.doowap.net
;
; This file was automatically generated by dns_generate.pl.  Do not
; edit this file directly.  If you need to make additions to this
; file that CCE does not support, add your extra records to the
; db.doowap.net.include file.

$TTL 86400
doowap.net. IN SOA wsc193.amenworld.com. admin.wsc193.amenworld.com. (
        1092727672 ; serial number
        10800 ; refresh
        3600 ; retry
        604800 ; expire
        86400 ; ttl
        )
doowap.net. IN NS wsc193.amenworld.com.

www.doowap.net. in a 62.193.194.127

; User customizations go in this include file:
$INCLUDE db.doowap.net.include

From the comments included I understood that I shouldn't tinker with these settings but insted I put the following in the db.doowap.net.include file:

Code:
; /etc/named/db.doowap.net.include
; user customizations can be added here.
*.doowap.net. IN A 62.193.194.127

I restarted BIND by issuing:

Code:
[root named]# /etc/init.d/named restart
Shutting down DNS Server: named ok
Setting up DNS Server:  named

But it doesn't seem to work. The host command run on the same machine returns the following:

Code:
[root named]# host foo.doowap.net
Host foo.doowap.net not found: 3(NXDOMAIN)

Where am I going wrong? What to do to get the wildcard DNS to work?

Reply With Quote
  #2  
Old August 17th, 2004, 11:35 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
Well you got the right idea, there's just something else that is going wrong. Just in case replace this line:

$INCLUDE db.doowap.net.include

to

$INCLUDE /etc/named/db.doowap.net.include

If that doesn't fix it, let me know, and I'll start telling you what to do and what to show me so that I can fix your server through you.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #3  
Old August 17th, 2004, 12:00 PM
rev909 rev909 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 21 rev909 User rank is Private First Class (20 - 50 Reputation Level)rev909 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 h 49 m 31 sec
Reputation Power: 0
Send a message via Yahoo to rev909
I tried to modify as you said but actually I was sure before I did it that it will not work since earlier I also tried to put the

*.doowap.net. IN A 62.193.194.127

line directly into db.doowap.net and it didn't work.

And on my appliance the db files are in located in /var/lib/named/etc/named/

So what should I do to see what is actually loaded by named because I'm getting paranoid here from a whole day of failures...

Reply With Quote
  #4  
Old August 17th, 2004, 11:40 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
alright, time to do some investigation. Show me the response to these commands:

ps -Af | grep 'named'
killall -KILL named
named -u named -g

Also attach (don't paste) these files:

/etc/init.d/named
/etc/named.conf
/etc/named/db.doowap.net.include

Reply With Quote
  #5  
Old August 23rd, 2004, 05:55 AM
rev909 rev909 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 21 rev909 User rank is Private First Class (20 - 50 Reputation Level)rev909 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 h 49 m 31 sec
Reputation Power: 0
Send a message via Yahoo to rev909
Sorry for the late response but the problem was solved in the meantime. It turns out that there was a "higher level" admin at the registrar / host where I had to setup these and the changes I made in those file didn't matter. At least that's how it looks like.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Problems setting up a wildcard DNS on Sun Cobalt Raq 550


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT