LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-12-2017, 12:27 AM   #1
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,406
Blog Entries: 43

Rep: Reputation: 35
Saving a DNS Configuration to a Samba Drive


Hi, to understand this thread, first read here: http://www.linuxquestions.org/questi...11#post5689111.

I know at this point, from seeing all the references to the old subnet, it's a wonder anything still works as applied to networking! So therefore, I'm probably just going to have to recreate the whole server. The problem now, is saving the DNS configuration. There are several CNAMES in the DNS configuration that are still valuable to me. I want to save them in the most human readable format possible, so that I can use them to recreate the DNS server when I get back to that point. Please help me figure out how to do this. I thought it was simple, but it didn't work as planned.

I pulled up the configuration in webmin using firefox from the localhost. I accessed it by IP address. I went to print and found that the printer isn't hooked up to it. So I saw an option to print to a file, which supposedly saves in .PDF. That was correct, but it only saves the first part, not the whole thing. I was able to transfer that file to a Windows client by using the NAS by IP. Unfortunately, it was still only the first page after a fresh print to file. So I went, "Okay, I'll install the printer". That's when I remembered that the reason it probably is not installing is because there are references to the old IP addresses there too! So at minimum, I'd have to redo those IPs, to install the printer software, which may or may not work and may take a few hours. Then I'd be able to try to print the flawed DNS server information, which is still valuable. Then I'd be able to redo the DNS server which would take a few days. If I save it and redo the server, it will be a few days tops. I just don't know how to save it so far. I "might" have an image that I could use to restore to the point when the server was initially finished, and then I could try again to fix the DNS server. I just remembered that, if that helps any. But appearently, I'm going to have to fix all flawed IP references to make it work, and besides those two places I don't know if there are any more or not. This could be why it doesn't work. It will take a day to image if I have such a backup, plus some instruction on the fastest way to fix all the IP references. Then however much time that takes. But maybe that's actually the fastest way?
 
Old 04-12-2017, 09:43 AM   #2
Ellendhel
Member
 
Registered: Aug 2015
Location: Wilmington, NC
Distribution: Slackware
Posts: 64

Rep: Reputation: 51
Quote:
Originally Posted by des_a View Post
I pulled up the configuration in webmin using firefox from the localhost. (...) But maybe that's actually the fastest way?
I would strongly recommend to use the command line, locate the files used by the DNS server and make some copies.

If you are using BIND for your DNS server, start by looking for the named.conf file. It's the general configuration for the service and will probably not have the information that you are looking for, but you should see what are the zone files that are used.

To be more specific, one instruction too look for is directory in the options block, and then for each zone configuration block you should find a file instruction, pointing to the actual zone file.

All those files are text-based, so you can copy those anywhere you like (or even print them if you need a hard copy).
 
1 members found this post helpful.
Old 04-12-2017, 10:15 PM   #3
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,406

Original Poster
Blog Entries: 43

Rep: Reputation: 35
Thanks. I think that was what I'd forgotten.
 
Old 05-01-2017, 12:17 AM   #4
des_a
Senior Member
 
Registered: Sep 2006
Posts: 1,406

Original Poster
Blog Entries: 43

Rep: Reputation: 35
Copying the file to the NAS and printing it to get a hard copy was exactly what I did.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dns server configuration and samba problem pisek Linux - Server 3 05-18-2010 10:06 AM
Step by step configuration documents of FTP/DNS/MAIL/Appache/SAMBA sidharthasankar.raja Linux - Server 2 04-15-2010 06:31 AM
DNS not saving in Mandrake 10.1 allywilson Mandriva 4 01-20-2005 11:29 AM
saving mouted drive for use later with SAMBA wisdom Linux - Networking 3 01-19-2005 10:40 AM
Saving DNS Entry mcsphog Linux - Networking 2 06-19-2004 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration