Where is linux.nf ?
Hafiz
hafiz
Mon May 17 11:28:49 PDT 2004
I've forwarded this message from Hafiz as I don't have the time to help him
out. Please COPY hafiz at transocean.com.my on your replies. Thanks!
--- begin forwarded msg ---
I need your help on DNS. I have a dedicated servers currently hosted at New
York. We have around 82 blocks of IP's assign to us and we decide to run a
DNS server as well. Our domain is powertrips.org and I have register it at
register.com.
The problem is I try to setup a DNS server in it (Our server is running on
FreeBSD 4.4-RELEASE) but is seems it cannot answer any query on
www.powertrips.org, admin.powertrips.org and other subdomain I configure.
Why ? But for DNS1.powertrips.org it works fine. Can you look into this ?
Well I cant deny that Im a newbie in DNS thinggie.
Attached here is the file configuration that I think you may need to look at
if there is any mistake in it.
Please advise. Hope to hear from you soon.
Thank You.
-------------- next part --------------
FILE NAME : /etc/namedb/named.root
; This file holds the information on root name servers needed to
; initialize cache of Internet domain name servers
; (e.g. reference this file in the "cache . <file>"
; configuration file of BIND domain name servers).
;
; This file is made available by InterNIC registration services
; under anonymous FTP as
; file /domain/named.root
; on server FTP.RS.INTERNIC.NET
; -OR- under Gopher at RS.INTERNIC.NET
; under menu InterNIC Registration Services (NSI)
; submenu InterNIC Registration Archives
; file named.root
;
; last update: Aug 22, 1997
; related version of root zone: 1997082200
; $FreeBSD: src/etc/namedb/named.root,v 1.9 1999/09/13 17:09:08 peter Exp $
;
; formerly NS.INTERNIC.NET
;
. 3600000 IN NS A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
;
; formerly NS1.ISI.EDU
;
. 3600000 NS B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET. 3600000 A 128.9.0.107
;
; formerly C.PSI.NET
;
. 3600000 NS C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
;
; formerly TERP.UMD.EDU
;
. 3600000 NS D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
;
; formerly NS.NASA.GOV
;
. 3600000 NS E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
;
; formerly NS.ISC.ORG
;
. 3600000 NS F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
;
; formerly NS.NIC.DDN.MIL
;
. 3600000 NS G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
. 3600000 NS H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
;
; formerly NIC.NORDU.NET
;
. 3600000 NS I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
;
; temporarily housed at NSI (InterNIC)
;
. 3600000 NS J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET. 3600000 A 198.41.0.10
;
; housed in LINX, operated by RIPE NCC
;
. 3600000 NS K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
;
; temporarily housed at ISI (IANA)
;
. 3600000 NS L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12
;
; housed in Japan, operated by WIDE
;
. 3600000 NS M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
; End of File
----------------------------------------------------------------------
FILE NAME : /etc/namedb/localhost.rev
localhost.rev
@ IN SOA dns1.powertrips.org. root.powertrips.org. (
199609204
28800
7200
604800
86400 )
NS dns1.powertrips.org.
1 PTR localhost.
----------------------------------------------------------------------
FILE NAME : /etc/namedb/named.conf
options {
directory "/var/named";
forwarders {
127.0.0.1;
};
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "127.0.0";
};
zone "powertrips.org" {
type master;
notify yes;
file "powertrips.org";
};
zone "158.28.66.in-addr.arpa" {
type master;
notify yes;
file "66.28.158";
};
----------------------------------------------------------------------
FILE NAME : /var/named/powertrips.org
$TTL 3D
@ IN SOA dns1.powertrips.org. clanx.dns1.powertrips.org.
(
199802155 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN A 66.28.158.4
IN NS dns1.powertrips.org.
powertrips.org. IN NS dns1.powertrips.org.
www IN A powertrips.org.
www IN CNAME powertrips.org.
admin IN A powertrips.org.
mail IN A 66.28.158.4
@ IN MX 10 66.28.158.4
----------------------------------------------------------------------
FILE NAME : /var/named/66.28.158
$TTL 3D
@ IN SOA dns1.powertrips.org. clanx.dns1.powertrips.org.
(
199802155 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
@ IN NS dns1.powertrips.org.
4 IN PTR dns1.powertrips.org.
4 IN PTR www.powertrips.org.
4 IN PTR www.powertrips.org.
4 IN PTR admin.powertrips.org.
4 IN PTR mail.powertrips.org.
More information about the Linux-users
mailing list