Main > Free Download Search >

Free named.conf software for linux

named.conf

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3
BindConfig 20010828

BindConfig 20010828


BindConfig is a tool to reduce the error prone work of maintaining BINDs zone files. more>>
BindConfig is a tool to reduce the error prone work of maintaining BINDs zone files. More precisely, BindConfig is the name of a Python module which can read BINDs zone files and named.conf files, and can modify and save BINDs zone files.

The zone files written by the module will be as concise as possible, since you as an admin are more likely to spot errors in a file which only has the information necessary. The zone files are written to conform to BINDs expectations and with BINDs style guide. There will be an ORIGIN directive and a TTL directive at the top of the zone. All hostnames will be relative to the toplevel ORIGIN, except for absolute hostnames outside of the zone.

BindConfig comes with an interactive shell for editing your zone files.

Invoke the shell with the name of the zone you want to edit. It will parse your systems named.conf file for the location of the zone, and parse that file in turn. When the shell exits, it will save the zone file.

edit-zone dragonsdawn.net
edit-zone:
Copyright 2001 Gordon Messmer
This is free software with ABSOLUTELY NO WARRANTY.
For details type warranty.
Parsing file: /etc/named.conf
Done
Parsing zone: dragonsdawn.net
Done
>

If all goes well, (no missing files), youll be in the edit-zone shell. Type help for a list of available commands. You can print the zone, list records using wildcards, delete records using wildcards, add records or read commands from a file. You can also pipe commands to the shell:

cat zone-commands | edit-zone dragonsdawn.net
echo add CNAME for www bind-config | edit-zone dragonsdawn.net

<<less
Download (0.008MB)
Added: 2006-07-05 License: GPL (GNU General Public License) Price:
1207 downloads
Unix::Conf::Bind8::Conf 0.3

Unix::Conf::Bind8::Conf 0.3


Unix::Conf::Bind8::Conf is a front end for a suite of classes for manipulating a Bind8 style configuration file. more>>
Unix::Conf::Bind8::Conf is a front end for a suite of classes for manipulating a Bind8 style configuration file.

SYNOPSIS

my ($conf, $obj, $ret);

$conf = Unix::Conf::Bind8->new_conf (
FILE => named.conf,
SECURE_OPEN => /etc/named.conf,
) or $conf->die ("couldnt create `named.conf");

#
# All directives have corrresponding new_*, get_*, delete_*
# methods
#

$obj = $conf->new_zone (
NAME => extremix.net,
TYPE => master,
FILE => db.extremix.net,
) or $obj->die ("couldnt create zone `extremix.net");

# For objects that have a name attribute, name is to
# be specified, otherwise no arguments are needed.
$obj = $conf->get_zone (extremix.net)
or $obj->die ("couldnt get zone `extremix.net");

$obj = $conf->get_options ()
or $obj->die ("couldnt get options");

# For objects that have a name attribute, name is to
# be specified, otherwise no arguments are needed.
$obj = $conf->delete_zone (extremix.net)
or $obj->die ("couldnt delete zone `extremix.net");

$obj = $conf->delete_options ()
or $obj->die ("couldnt get options");

# directives that have a name attribute, have iterator
# methods
printf ("Zones defined in %s:n", $conf->fh ());
for my $zone ($conf->zones ()) {
printf ("%sn", $zone->name ();
}

printf ("Directives defined in %s:n", $conf->fh ());
for my $dir ($conf->directives ()) {
print ("$dirn");
}

$db = $conf->get_db (extremix.net)
or $db->die ("couldnt get db for `extremix.net");

This class has interfaces for the various class methods of the classes that reside beneath Unix::Conf::Bind8::Conf. This class is an internal class and should not be accessed directly. Methods in this class can be accessed through a Unix::Conf::Bind8::Conf object which is returned by Unix::Conf::Bind8->new_conf ().

<<less
Download (0.076MB)
Added: 2006-06-12 License: Perl Artistic License Price:
1229 downloads
web-nsupdate 1.0

web-nsupdate 1.0


web-nsupdate is a web-based dynamic DNS update utility. more>>
web-nsupdate is a web-based dynamic DNS update utility.

The web-nsupdate package provides a simple, web-based facility for clients to send dynamic DNS updates. Clients are typically DHCP hosts, such as a Linux system acting as a gateway for residential broadband service.

The client sends a simple web request (such as with the wget(1) or lynx(1) commands) to the web-nsupdate service to register their host request.

This package has been tested on a server with the following Debian packages:

* bind9 (ver 9.2.4-1)
* apache2 (ver 2.0.54-5)
* php4 (ver 4.3.10-16)

BE ADVISED: Its a pain in the butt to configure BIND to do dynamic DNS. You are going to need to do that to make "web-nsupdate" work. These instructions describe that process, so follow carefully. I *strongly* urge you to review the dnssec-keygen(8) and nsupdate(8) man pages first, so you can get some idea of what we are trying to accomplish.

Installation Instructions:

1. Copy the "web-nsupdate" files to a location such as
"/usr/local/lib/web-nsupdate". It is OK to install somewhere else,
just adjust the following directions accordingly.

2. Generate a TSIG key that "web-nsupdate" will use to authenticate
itself to the DNS server.

SECURE THIS KEY! Do not leave readable copies around. This key can
be used to make changes to DNS records managed by "web-nsupdate".

Here are the steps to generate the key:

cd /usr/local/lib/web-nsupdate
/usr/sbin/dnssec-keygen -a HMAC-MD5 -b 512 -n HOST web-nsupdate
chmod 440 Kweb-nsupdate*
# Below, adjust "www-data" to the GID your web server runs under.
chgrp www-data Kweb-nsupdate*

3. Setup the "web-nsupdate" definitions file, starting with the provided
sample. This file needs to be secured, to protect the client passwords
from being revealed.

cd /usr/local/lib/web-nsupdate
cp nsupdate-defs.php.sample nsupdate-defs.php
chmod 640 nsupdate-defs.php
# Below, adjust "www-data" to the GID your web server runs under.
chgrp www-data nsupdate-defs.php
vi nsupdate-defs.php

4. Verify that "nsupdate.php" has the correct path to the "nsupdate-defs.php"
file.

vi nsupdate.php
# Check the require_once() statement near the top.

5. Symlink the update script into your web site.

# Below, adjust "/var/www/nsupdate.php" to a location in your web server.
ln -s /usr/local/lib/web-nsupdate/nsupdate.php /var/www/nsupdate.php

At this point, the "web-nsupdate" front-end is configured. Now to
configure the nameserver back-end.

6. Assuming you dont already have a place for nameserver keys, create
a new file called "named.keys" that contains the TSIG key that
"web-nsupdate" will use. The file will look something like:

key web-nsupdate {
algorithm HMAC-MD5;
secret "jzzoMR4ocgZGq5pQho2Pr5r9DDHT4lWK8QO09cpvVtpvHqaUdzktBs1DHCslpPR8PwXU3ni8zjST/5FxEwg44Q==";
};

Replace the "secret" value show above with the key in the
"Kweb-nsupdate.+157+nnnnn.private" file you generated in step 2.

7. Install the "named.keys" file to the directory where your "named.conf"
resides. This file needs to be secured, to protect your namesever
from unauthorized updates.

If your "named.conf" directory is "/etc/bind", do:

# Below, adjust /etc/bind to directory where named.conf lives.
mv named.keys /etc/bind/named.keys
chmod 400 /etc/bind/named.keys
# Below, adjust "bind:bind" to the UID:GID your nameserver runs under.
chown bind:bind /etc/bind/named.keys

8. Add a line to your "named.conf" that says:

include "named.keys";

9. Modify your "named.conf" to list each host that web-nsupdate will
be updating. If, for example, you want to allow dynamic updates
from hosts "host1.example.com" and "host2.example.com", then modify
the "example.com" stanza in "named.conf" and add two lines:

zone "example.com" {
type master;
.
.
.
# add the lines below, one per host in thie zone
update-policy {
grant web-nsupdate. name host1.example.com. A;
grant web-nsupdate. name host2.example.com. A;
};
};

10. Test the update capability. Point your web browser to the installed
"nsupdate.php" script. This should bring up a form for manual
entry. Submit your entry, and verify the update was successful.
<<less
Download (0.005MB)
Added: 2006-11-20 License: GPL (GNU General Public License) Price:
636 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1