On Mon, 2002-06-17 at 14:27, David Busby wrote:

> before?  I've got the caching part done (wayyyy easy) and name queries
> resolve on that machine but not queries for machines on my local subnet.
> The Win2K clients do a dynamic update of the DNS when they come on-line but
> I don't know how to tell 'named' to understand them.

Create a new, empty zone for your local network:

cat > /var/named/db.dynamic-example <<EOF
$TTL 86400 
@       IN      SOA     ns.example.com. root.ns.example.com. (
                2001010101      ; serial
                3600            ; refresh
                600             ; retry
                3600000         ; expire
                86400 )         ; default ttl
@               IN      NS              ns.example.com.
@               IN      NS              ns2.example.com.
@               IN      MX      5       mail.example.com.
@               IN      MX      10      mail2.example.com.
EOF

Change the ownership and mode of the file so that the named server can
modify it when change requests are made:
chown named:named /var/named/db.dynamic-example
chmod 644 /var/named/db.dynamic-example

Configure named to act as the master for the new zone, and accept
updates from your local network:
cat >> /etc/named.conf <<EOF
zone "example.com"{
        type master;
        allow-update { 
                192.168.1.0/24;
        };
        file "db.dynamic-example";
};
EOF

Your domain should be something that you do not publish to the public
internet if you are going to allow your windows clients to update the
zone.  If your Windows domain is the same as a DNS domain that you
publish, you will want to change it to something private.




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to