[KLUG Members] domain DNS help

Russell Dillenburg members@kalamazoolinux.org
Fri, 11 Jul 2003 13:02:12 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_001A_01C347AC.A507BA80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

hey all,

I am configuring domain name services on my redhat 7.2 server.  I just set
up in networksolutions.com my NS.nighthawk-tech.com -> 12.250.249.14.  I did
that yesterday (jul-10).

After the 72 hours refresh time they speak of will changes I make to my
domain records take effect right away.  In other words will I be able to
view in web browser www.nighthawk-tech.com.

It's my first time ever setting up and working with domain name services.  I
included some information from files below, if any other info is needed let
me know.

Does anyone know of some good docs on setting up domain name services?

Thanks,

Russell
<snippet src="/etc/named.conf">
zone "nighthawk-tech.com" IN {
        type master;
        file "ns.zone";
        allow-update { none; };
};
</snippet>
<snippet src="/etc/named.conf">
zone "250.249.14.in-addr.arpa" IN {
        type master;
        file "192.168.1";
        allow-update { none; };
};
</snippet>
<snippet src="/var/named/ns.zone">
$TTL 3D
nighthawk-tech.com.     SOA     NS.nighthawk-tech.com.
Russell.nighthawk-tech.com. (
                        200306291       ; serial
                        10800           ; refresh
                        3600            ; retry
                        604800          ; expire
                        86400 )         ; minimum, seconds
nighthawk-tech.com.     NS      NS.nighthawk-tech.com.

nighthawk-tech.com.     A       12.250.249.14
www                     A       12.250.249.14
xoops                   CNAME   nighthawk-tech.com/xoops.
ftp                     CNAME   nighthawk-tech.com.
knightec                A       12.251.56.228
mail                    A       12.251.56.228
nighthawk-tech.com.     IN  MX  10 mail.nighthawk-tech.com.
</snippet>
<snippet src="/var/named/192.168.1">
$TTL 3D
14.249.250.12.in-addr.arpa. SOA     NS.nighthawk-tech.com.
Russell.nighthawk-tech.com (
                                200304113       ; Serial
                                28800           ; refresh
                                14400           ; Retry
                                604800          ; Expire
                                86400 )         ; Seconds
14.249.250.12.in-addr.arpa.     NS      NS.nighthawk-tech.com.
14.249.250.12.in-addr.arpa.     PTR     NS.nighthawk-tech.com.
</snippet>

[root@NS named]# netstat -ap | grep domain
tcp        0      0 192.168.1.104:domain    *:*                     LISTEN
2751/named
tcp        0      0 NS:domain               *:*                     LISTEN
2751/named
udp        0      0 *:domain                *:*
2751/named
udp        0      0 192.168.1.104:domain    *:*
2751/named
udp        0      0 NS:domain               *:*
2751/named
Active UNIX domain sockets (servers and established)

------=_NextPart_000_001A_01C347AC.A507BA80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial size=3D2>hey=20
all,</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial size=3D2>I am =
configuring=20
domain name services on my redhat 7.2 server.&nbsp; I just set up in=20
networksolutions.com my NS.nighthawk-tech.com -&gt; 12.250.249.14.&nbsp; =
I did=20
that yesterday (jul-10).</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial size=3D2>After =
the 72 hours=20
refresh time they speak of will changes I make to my domain records take =
effect=20
right away.&nbsp; In other words will I be able to view in web browser =
<A=20
href=3D"http://www.nighthawk-tech.com">www.nighthawk-tech.com</A>.</FONT>=
</SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial size=3D2><SPAN=20
class=3D672514717-11072003><FONT face=3D"Times New Roman"=20
size=3D3>&nbsp;</FONT></SPAN></FONT></SPAN></DIV><SPAN =
class=3D672514717-11072003>
<DIV></SPAN><SPAN class=3D672514717-11072003><FONT face=3DArial =
size=3D2>It's my first=20
time ever setting up and working with domain name services.&nbsp; I =
included=20
some information from files below, if any other info is needed let me=20
know.&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial size=3D2>Does =
anyone know of=20
some good docs on setting up domain name services?</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial =
size=3D2>Thanks,=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial =
size=3D2>Russell=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003>
<DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial =
size=3D2>&lt;snippet=20
src=3D"/etc/named.conf"&gt;</FONT></SPAN></DIV><FONT face=3DArial =
size=3D2>zone=20
"nighthawk-tech.com" IN {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
type=20
master;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file=20
"ns.zone";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; allow-update { =
none;=20
};<BR>};</FONT></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial=20
size=3D2>&lt;/snippet&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial =
size=3D2>&lt;snippet=20
src=3D"/etc/named.conf"&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial size=3D2>zone=20
"250.249.14.in-addr.arpa" IN =
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
type master;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file=20
"192.168.1";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; allow-update =
{ none;=20
};<BR>};</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial=20
size=3D2>&lt;/snippet&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial =
size=3D2>&lt;snippet=20
src=3D"/var/named/ns.zone"&gt;<BR>$TTL=20
3D<BR>nighthawk-tech.com.&nbsp;&nbsp;&nbsp;&nbsp; =
SOA&nbsp;&nbsp;&nbsp;&nbsp;=20
NS.nighthawk-tech.com.&nbsp; Russell.nighthawk-tech.com.=20
(<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
200306291&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;=20
serial<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
10800&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;=20
refresh<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
3600&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; =

retry<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;=20
604800&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;=20
expire<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
86400 )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; minimum,=20
seconds<BR>nighthawk-tech.com.&nbsp;&nbsp;&nbsp;&nbsp;=20
NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
NS.nighthawk-tech.com.</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial=20
size=3D2>nighthawk-tech.com.&nbsp;&nbsp;&nbsp;&nbsp;=20
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
12.250.249.14<BR>www&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
12.250.249.14<BR>xoops&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
CNAME&nbsp;&nbsp;=20
nighthawk-tech.com/xoops.<BR>ftp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
CNAME&nbsp;&nbsp;=20
nighthawk-tech.com.<BR>knightec&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
12.251.56.228<BR>mail&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
12.251.56.228<BR>nighthawk-tech.com.&nbsp;&nbsp;&nbsp;&nbsp; IN&nbsp; =
MX&nbsp;=20
10 mail.nighthawk-tech.com.<BR>&lt;/snippet&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial =
size=3D2>&lt;snippet=20
src=3D"/var/named/192.168.1"&gt;<BR>$TTL =
3D<BR>14.249.250.12.in-addr.arpa.=20
SOA&nbsp;&nbsp;&nbsp;&nbsp; =
NS.nighthawk-tech.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Russell.nighthawk-tech.com=20
(<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20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;&nbsp;&nbsp;=20
86400 )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;=20
Seconds<BR>14.249.250.12.in-addr.arpa.&nbsp;&nbsp;&nbsp;&nbsp;=20
NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
NS.nighthawk-tech.com.<BR>14.249.250.12.in-addr.arpa.&nbsp;&nbsp;&nbsp;&n=
bsp;=20
PTR&nbsp;&nbsp;&nbsp;&nbsp;=20
NS.nighthawk-tech.com.<BR>&lt;/snippet&gt;</FONT></SPAN></DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D672514717-11072003><FONT face=3DArial =
size=3D2>[root@NS named]#=20
netstat -ap | grep =
domain<BR>tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 192.168.1.104:domain&nbsp;&nbsp;&nbsp; =

*:*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
LISTEN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
2751/named<BR>tcp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0=20
NS:domain&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;=20
*:*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
LISTEN&n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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
2751/named<BR>Active UNIX domain sockets (servers and=20
established)</FONT></SPAN></DIV></SPAN></DIV></BODY></HTML>

------=_NextPart_000_001A_01C347AC.A507BA80--