Managing the DNS Server via the Web Console
Submitted by meatpaddy on Mon, 05/12/2008 - 06:15.
The Coadunation Web Admin Console makes it possible to manage the DNS server via a web browser.
The following functionality is provided through the Admin console on the "dns/MBeanManager" URL:
- Create Zone: Create a primary zone on the server.
- Create Secondary Zone: Create a zone that will transfer from another server.
- Get Zone: Get the zone contents.
- List Zones: List the zones served out by this server.
- Update Zone: Update the contents of a Zone.
- Remove Zone: Remove a zone from the server.
Create a Zone
The create zone call takes two values.
- Zone Name: The name of the domain to create e.g example.com
- Zone: The contents of the domain e.g
example.com. 604800 IN SOA example.com. root.localhost. 1 604800 86400 2419200 604800
example.com. 604800 IN NS ns.example.com.
example.com. 604800 IN A 192.168.1.1
www.example.com. 604800 IN A 192.168.1.101
ns.example.com. 604800 IN A 192.168.1.101
Note: All domain names must be fully qualified
Create Secondary Zone
This call takes two values:
- zoneName: The name of the zone that this server will act as secondary for.
- remote: The ip address of the remote server to transfer from.
get Zone
Retrieves the contents of the zone.
- zoneName: The name of the zone to retrieve the contents for.
List Zones
List the zones hosted by this server
- type: An integer value either [1: Primary, 2: Secondary, 3: All]
Update Zone
Updates the contents of a zone
- Zone Name: The name of the domain to create e.g example.com
- Zone: The contents of the domain e.g
example.com. 604800 IN SOA example.com. root.localhost. 1 604800 86400 2419200 604800
example.com. 604800 IN NS ns.example.com.
example.com. 604800 IN A 192.168.1.1
www.example.com. 604800 IN A 192.168.1.101
ns.example.com. 604800 IN A 192.168.1.101
Note: All domain names must be fully qualified
Remove Zone
Removes the zone from the server
- zoneName: The name of the zone to remove from the server.
