and dare I mention this here if you have a windows machine pointed at this dNS server then look at: Nslookup: ls
For the Unix version if it includes ls then you can script it using heretext, e.g.:
I am not certain about the server <domain> bit as the method of changing which domain you are then listing, perhaps another member of unix.com can comment please?
We have had a great experience recently with these folks:
http://www.zoneedit.com/
and highly recommend them.
You can set up and manage the DNS for five free domains there, both primary and secondary. (0 Replies)
Hi all,
I am writing a program to retrieve the IP address or machine name of the local machine using C.
Is there any C function that does this?
ny clue will be of gr8 help!!!
thanx a lot. (1 Reply)
Hi guys,
I just got a new job. I'm working in an ISP and Datacenter, we have 2 DNS servers, a LINUX (primary), and a SUNOS (secondary). A few days ago we had an issue with some non-authoritative domains(not all, just some) in the SUNOS that can't be resolved.
The same domain in the LINUX box is... (2 Replies)
I'd like to get some opnions on choosing DNS server:
Windows DNS vs Linux BIND comparrsion:
1) managment, easy of use
2) Security
3) features
4) peformance
5) ??
I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Hi,
Is it possible to enable the time service in local zones?
E.g.
erahmanz1% svcs -a | grep -i time
STATE STIME FMRI
disabled Sep_10 svc:/network/daytime:dgram
disabled Sep_10 svc:/network/daytime:stream
disabled Sep_10 svc:/network/time:dgram... (2 Replies)
I am trying to install a replacement mail server. On the old machine,
nslookup example.com returns 192.168.100.5 instead of its real ip of 207.139......
On the new machine, which I have presumably set up the same way; I compared the data in the gui dnsconfig on both machines, I get an error... (0 Replies)
Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Hi,
I was wondering if any Solaris fellow out there has dealt with running Solaris 11 x86 on Local Zones for Oracle RAC (which may or may not be relevant to issue), running on HP gen h/w. Every so often could be weeks between issues or some times days, there will be a memory corruption and db... (2 Replies)
Discussion started by: crossmypath
2 Replies
LEARN ABOUT DEBIAN
zone2sql
ZONE2SQL(8) System Manager's Manual ZONE2SQL(8)NAME
zone2sql - Convert ISC Bind zones to SQL
SYNOPSIS
zone2sql [OPTIONS]
DESCRIPTION
Zone2sql parses Bind named.conf files and zonefiles and outputs SQL on standard out, which can then be fed to your database.
zone2sql understands the Bind master file extension '$GENERATE' and will also honour '$ORIGIN' and '$TTL'.
For backends supporting slave operation (currently only the PostgreSQL backend), there is also an option to keep slave zones as slaves, and
not convert them to native operation.
By default, zone2sql outputs code suitable for the mysqlbackend, but it can also generate SQL for the Generic PostgreSQL and Oracle back-
ends.
OPTIONS
Input options:
--named-conf=<filename>
Read <filename> to get the bind configuration
--zone=<zone-file>
Parse only this zone file. Conflicts with --named-conf parameter.
--zone-name=<name>
When parsing a single zone without $ORIGIN statement, set this as the zone name.
Output options:
--bare Output in a bare format, suitable for further parsing. The output is formatted as follows:
domain_id<TAB>'qname'<TAB>'qtype'<TAB>'content'<TAB>prio<TAB>ttl
--gmysql
Output in format suitable for the default configuration of the Generic MySQL backend.
--gpgsql
Output in format suitable for the default configuration of the Generic PostgreSQL backend.
--mysql
Output in format suitable for the default configuration of the MySQL backend (the default output format).
--oracle
Output in format suitable for the default configuration of the Generic Oracle backend.
--transactions
For Oracle and PostgreSQL output, wrap each domain in a transaction for higher speed and integrity.
Other options:
--slave
Maintain slave status of zones listed in named.conf as being slaves. The default behaviour is to convert all zones to native opera-
tion.
--on-error-resume-next
Ignore missing files during parsing. Dangerous.
--help List all options
--verbose
Be verbose during conversion.
SEE ALSO pdns_server(8)PowerDNS December 2002 ZONE2SQL(8)