HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: can not build up dns server
Operating System - Linux
1832765
Members
3380
Online
110045
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2002 03:19 AM
06-28-2002 03:19 AM
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.mydomain.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.mydomain.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;
#/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.mydomain.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;
frederick
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2002 03:47 AM
06-28-2002 03:47 AM
Re: can not build up dns server
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???
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???
frederick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2002 04:40 AM
06-28-2002 04:40 AM
Re: can not build up dns server
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
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
frederick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2002 04:52 AM
06-28-2002 04:52 AM
Re: can not build up dns server
thanks everyone,
i got it by add @ before NS.
frederick
i got it by add @ before NS.
frederick
frederick
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP