Raq3 DNS | how do i download all records

Posted on 2003-11-25
Last Modified: 2010-03-18
hey all, i don't know if this is the right place to ask this but here goes, i have a raq3 server that's doing all of my dns. I have over 600 domain records in that dns and what i need to do is get some sort of text file with a list of all the domain names and the records and the ip they point to. The reason: i'm moving all my stuff to windows dns. I know nothing about linux or raq3. Please help me out. thanx all.
Question by:engineroom
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 12

Accepted Solution

paullamhkg earned 300 total points
ID: 9822729
Well you can sync the dns record to you win2K server and create the list. anyway, the files your look for is /var/named/xxxx.db or /var/named/db.xxxx  the files name you can check in here /etc/named.conf in this config file you will find something as below

[root@dns /etc]# more named.conf
options {
        directory "/var/named";

zone "." {
        type hint;
        file "/var/named/";
zone ""{
        type master;
        file "/var/named/";                  <here show you the file you need to look for, in this example is
zone "0.0.127.IN-ADDR.ARPA"{
        type master;
        file "/var/named/named.local";
zone ""{
        type master;
        file "/var/named/db.192.168.0";                            <and also here

is this what you are looking for ?
LVL 12

Expert Comment

ID: 9822734
eg. of the

[root@dns /etc]# more /var/named/
@       IN      SOA (
                        2001092701 ; serial
                        10800 ; refresh
                        3600 ; retry
                        86400 ; expire
                        86400 ; default_ttl
                IN      NS

localhost    IN      A
dns            IN      A
nt5server   IN      A
email         IN      A
mail           IN      A
www          IN      A
tech           IN      A
ps              IN      A
ftp             IN      A
intra          IN      A

ntp            IN      CNAME  IN      MX      10  IN      MX      20


Author Comment

ID: 9824667
i'm lost, i'm trying to drag all the records down. How do i do that?
More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

LVL 12

Expert Comment

ID: 9829194
you can copy those files into a floppy and open them by note pad/M$ words will do.

put a formatted floppy (even dos format should work) into your linux box, mount /dev/floppy /mnt/floppy
login into your linux box as root, run "cp /var/named/(the file you need) /mnt/floppy" in the console mode/command mode, now you copy your file(s) into the floppy so you can open it from M$ windoz and work out, normally the file should not over 1.44MB, if yes, try using tar and compress it into smaller size

tar -zcvf /mnt/floppy/(needfile).tar.gz /var/named/(needfile)   this will make a compressed file into you floppy, you can open it by using winzip or RAR.

Hope this can help.


Expert Comment

ID: 9835497
Have you considered using Bind on Windows?  For 300 domains, Windows DNS could prove to be a nightmare!  If you don't know the Linux OS, only a few changes would need to be made to the named.conf configuration file (due to the / in linux vs. the c:\ in windows) to get it running.

Hope this helps.


Author Comment

ID: 9850554
whats BIND?

Author Comment

ID: 9972843
thanx p, your info helped

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question