New to Bind (W2k)

Danny Mayer mayer at gis.net
Tue Dec 10 06:14:49 UTC 2002


At 08:36 AM 12/9/02, wsjb78 wrote:
>Hiya,
>
>I'm new to bind without any *nix experiences.
>
>Well, what I want to try to accomplish is the following: A daily actualised
>mysql-db with domain names and IP addresses

Which domain names and IP addresses are you discussing

>For this, I thought I could install bind on my W2k machine and have it daily
>actualised.

What does actualised mean? What are you trying to do?

>  So there's already the first question:
>
>Does bind somehow download all those domain and ip address data?

Which ones? BIND and any other DNS will get results of queries made
to it by a requestor. If no request is made for a particular domain, then
it won't fetch that information with the exception of the list of root servers.


>If so, then I need to properly install Bind on W2k. I already tried it using
>the newest version. It did install it into c:\winnt\system32\dns\bin
>
>I have read through some tutorials and readmes and I ended up having no the
>following custom files (see at the end)
>
>I'm not sure what I actually did there but I'm sure something's terribly
>wrong.
>
>Does anyone have a complete setup guide for Bind on W2k? Can I actually get
>a copy of all domain names and IP addresses or is there some place where I
>can download?

It's the same as Unix with only very minor exceptions. You can look at
http://bind8nt.meiway.com/ for details of differences. Note that those pages
are rather old and are not uptodate.

It would be better if you explained what you are trying to do and why.


>Thx for your help!
>
>wsjb78
>
>
>
>FILES:
>
>c:\winnt\system32\dns\etc
>
>- rndc.key
>
>key "rndc-key" {
>  algorithm hmac-md5;
>  secret "QnM6Uny/kD327b/ysesuKw==";
>};
>
>
>- resolve.conf
>
>search vonhagen.org
>nameserver 216.187.101.17
>nameserver 216.187.101.27

That should be resolv.conf and should reside in c:\winnt\system32\Drivers\etc
Note also that this file is not used by BIND, but only by the tools: dig,
nslookup and host.


>- named.conf
>
>options {
>         directory "c:\winnt\system32\dns\bin";

It's usual to put them in c:\winnt\system32\dns\etc

>};
>zone "."{
>         type hint;
>         file "named.ca";
>};
>zone "vonhagen.org"{
>         type master;
>         file "vonhagen.org";
>notify no;
>};
>zone "6.168.192.in-addr.arpa"{
>         type master;
>         file "6.168.192.in-addr.arpa";
>};
>zone "0.0.127.in-addr.arpa"{
>         type master;
>         file "named.local";
>};
>
>
>c:\winnt\system32\dns\bin
>
>- vonhagen.org
>
>vonhagen.org. IN SOA  gateway.vonhagen.org. wvh.gethip.com. (
>   1999032500; serial
>   28800; refresh
>   7200; retry
>   604800; expire
>   86400; minimum
>)
>vonhagen.org           NS       gateway.vonhagen.org.   ;
>vonhagen.org.          MX       10  gateway.vonhagen.org. ;
>localhost              A
>gateway.vonhagen.org.  A        192.168.6.61    ;
>gateway.vonhagen.org.  HINFO    "PC"    "Linux" ;
>corel.vonhagen.org.    A        192.168.6.21    ;
>corel.vonhagen.org.    HINFO    "PC"    "Linux" ;
>laptop.vonhagen.org.   A        192.168.6.62   ;
>laptop.vonhagen.org.   HINFO    "PC"    "Linux" ;
>twoproc.vonhagen.org.  A        192.168.6.66    ;
>twoproc.vonhagen.org.  HINFO    "PC"    "Linux" ;
>g4.vonhagen.org.       A        192.168.6.90    ;
>g4.vonhagen.org.       HINFO    "PPC Mac" "MacOS9u4"  ;
>
>- rndc.conf
>
># Start of rndc.conf
>key "rndc-key" {
>  algorithm hmac-md5;
>  secret "nhgoQ5dkQdiHJW4UWg932A==";
>};
>
>options {
>  default-key "rndc-key";
>  default-server 127.0.0.1;
>  default-port 953;
>};
># End of rndc.conf
>
># Use with the following in named.conf, adjusting the allow list as needed:
># key "rndc-key" {
># algorithm hmac-md5;
># secret "nhgoQ5dkQdiHJW4UWg932A==";
># };
># controls {
># inet 127.0.0.1 port 953
>#  allow { 127.0.0.1; } keys { "rndc-key"; };
># };
># End of named.conf
>
>
>- named.ca
>
>;       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
>;       under anonymous FTP as
>;           file                /domain/named.cache
>;           on server           FTP.INTERNIC.NET
>;
>;       last update:    Nov 5, 2002
>;       related version of root zone:   2002110501
>;
>;
>; 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
>;
>; operated by VeriSign, Inc.
>;
>.                        3600000      NS    J.ROOT-SERVERS.NET.
>J.ROOT-SERVERS.NET.      3600000      A     192.58.128.30
>;
>; housed in LINX, operated by RIPE NCC
>;
>.                        3600000      NS    K.ROOT-SERVERS.NET.
>K.ROOT-SERVERS.NET.      3600000      A     193.0.14.129
>;
>; operated by 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
>
>
>6.168.192.in-addr.arpa
>
>6.168.192.in-addr.arpa.INSOAgateway.vonhagen.org.wvh.gethip.com.(
>   1999032403; serial
>   28800; refresh
>   7200; retry
>   604800; expire
>   86400; minimum
>)
>6.168.192.in-addr.arpa.       NS     gateway.vonhagen.org. ;
>21.6.168.192.in-addr.arpa.    PTR    corel.vonhagen.org.   ;
>61.6.168.192.in-addr.arpa.    PTR    gateway.vonhagen.org. ;
>62.6.168.192.in-addr.arpa.    PTR    laptop.vonhagen.org.  ;
>66.6.168.192.in-addr.arpa.    PTR    twoproc.vonhagen.org. ;
>90.6.168.192.in-addr.arpa.    PTR    g4.vonhagen.org       :

Danny



More information about the bind-users mailing list