Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old June 28th, 2002, 06:34 AM
zwwwxy zwwwxy is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 29 zwwwxy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
can not build up dns server

i follow how-to to setup the dns server, so as to make resoving my private sub-domain, for example the test.domain.com;
#/etc/init.d/named restart
everything ok;
nmap 53 port is active;

after reset the nameserver setting in client to this server:/etc/resolv.conf;
i work as bellow on client:
#host test.domain.com
unkonwn host

that is all. i have tried on serverl computer neither on internet nor in lan, the result is similar, i think, i must do some thing wrong.

the setting file as bellow:
#/etc/init.d/named restart


/etc/named.conf

options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
type hint;
file "named.ca";
};

zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};

zone "domain.com" {
type master;
file "domain.com.db";
};



domain.com.db

$TTL 76600
@ IN SOA domain.com. frederick.domain.com. (
2002062800;
10800;
900;
1000000;
30000;
IN NS ns.domain.com.
IN NS mail.domain.com.
ns IN A 192.168.0.10;
mail IN A 192.168.0.11;
test IN A 123.234.324.22;

Reply With Quote
  #2  
Old June 28th, 2002, 06:55 AM
zwwwxy zwwwxy is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 29 zwwwxy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
above the domain.com and mydomain.com is not the false, it is unique in my host.

i check the /var/log/messages for named logs,

get
dns_rdata_fromtext: domain.com.db:7: near 'IN': extra input text

dns_zone_load: zone domain.com/IN: loading master file domain.com.db: extra input text

what is wrong???

Reply With Quote
  #3  
Old June 28th, 2002, 07:47 AM
zwwwxy zwwwxy is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 29 zwwwxy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i have corrent as my possible in zone file until the /var/log/message have no other error other than :
zone domain.com/IN: no NS records

but the client also echo unknown host test.domain.com as before.

right yet the zone file is :

$TTL 76600
@ IN SOA daifumd.com. frederick_yu.daifumd.com. (
2002062800;
10800;
900;
1000000;
30000);
IN NS ns.daifumd.com.
IN NS mail.daifumd.com.
ns IN A 147.111.111.21
mail IN A 147.111.111.21
test IN A 123.234.124.22

what is the wrong else??

thanks
frederick

Reply With Quote
  #4  
Old June 28th, 2002, 07:58 AM
zwwwxy zwwwxy is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 29 zwwwxy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks everyone,
i got it by add @

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > can not build up dns server


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 6 hosted by Hostway