BIND and MS DNS

kelvin dumb kelvvin at yahoo.com
Wed Nov 22 22:17:11 UTC 2006


My goal is to allow MS clients talk to w3k AD and let
other *nix talk to BIND. I'm using a Bind DNS 9.2.4 on
Debian and Windows 2003.
BIND has 192.168.0.100 and MS DNS 192.168.0.120. ICS
DHCP is DHCP server. I want to subdomain so MS DNS
will handle all the traffic from MS clients. This is
what I have been doing so far.

In named.conf:


zone "math.edu" {
	type master;
	file "db.math.edu";
};

zone "0.168.192-in.addr.arpa" {
	type master;
	file "db.192.168.0";
};

zone "0.0.127-in.addr.arpa" {
	type master;
	file "db.127.0.0";
};
	
; For MS DNS
;

acl dc { 192.168.0.120; }; my AD's IP 

zone "_udp.ad.math.edu" {
    type master;
    file "db._udp.ad.math.edu";
    allow-update { dc; };
};

zone "_tcp.ad.math.edu" {
    type master;
    file "db._tcp.ad.math.edu";
    allow-update { dc; };
};

zone "_sites.ad.math.edu" {
    type master;
    file "db._sites.ad.math.edu";
    allow-update { dc; };
};

zone "_msdcs.ad.math.edu" {
    type master;
    file "db._msdcs.ad.math.edu";
    allow-update { dc; };
    check-names ignore;
};
; for w3k server
zone "DomainDNSZones.ad.math.edu" {
    type master;
    file "db.DomainDNSZones.ad.math.edu";
    allow-update { dc; };
};

zone "ForestDNSZones.ad.math.edu" {
    type master;
    file "db.ForestDNSZones.ad.math.edu";
    allow-update { dc; };
    check-names ignore;
};







----my db.math.edu file

$TTL 3h
;
; Origin added to names not ending
; in a dot: math.edu
;

@ IN SOA ns.math.edu. al.math.edu. (
                          1        ; Serial
                          3h       ; Refresh after 3
hours
                          1h       ; Retry after 1
hour
                          1w       ; Expire after 1
week
                          1h )     ; Negative caching
TTL of 1 hour

;
; Name servers (The name '@' is implied)
;
           			IN NS  ad.math.edu.
_udp.ad.math.edu.		IN NS  ad.math.edu.
_sites.ad.math.edu.		IN NS  ad.math.edu.
_msdcs.ad.math.edu.		IN NS  ad.math.edu.
_tcp.ad.math.edu.		IN NS  ad.math.edu.
DomainDNSZones.ad.math.edu.	IN NS  ad.math.edu.
ForestDNSZones.ad.math.edu.	IN NS  ad.math.edu.

;
; Addresses for the canonical names
;
localhost      IN A     127.0.0.1
toystory       IN A     192.168.0.100

_udp.ad.math.edu.		IN NS  192.168.0.120
_sites.ad.math.edu.		IN NS  192.168.0.120
_msdcs.ad.math.edu.		IN NS  192.168.0.120
_tcp.ad.math.edu.		IN NS  192.168.0.120
DomainDNSZones.ad.math.edu.	IN NS  192.168.0.120
ForestDNSZones.ad.math.edu.	IN NS  192.168.0.120
;
; Aliases
;
dns       IN CNAME ns









-----Reverse db.192.168.0 zone

$TTL 3h
;
; Origin added to names not ending
; in a dot: 0.168.192.in-addr.arpa
;

@ IN SOA ns.math.edu. al.math.edu. (
                          1        ; Serial
                          3h       ; Refresh after 3
hours
                          1h       ; Retry after 1
hour
                          1w       ; Expire after 1
week
                          1h )     ; Negative caching
TTL of 1 hour

;
; Name servers (The name '@' is implied)
;
   IN NS  ns.math.edu.

;
; Addresses point to canonical names
;
100 	IN PTR ns.math.edu.
120	IN PTR ad.math.edu.

After all of those, I created new zones
_upd.ad.math.edu, _sites.ad.math.edu...etc on MS DNS.


Questions:
Do I need to create db._msdcs.ad.math.edu...etc on
BIND? if so, what need to go in there? Do I miss or
need to add something else?
I don't have a good a idea what I'm doing so please
show how to do it. I'm very appreciate all your help.

Thank you,

Kelv 


 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index



More information about the bind-users mailing list