Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

DNS zones from host file

Thread Tools
 
Search this Thread
 
Old 04 September 2003, 11:46 AM
  #1  
JV
Scooby Regular
Thread Starter
 
JV's Avatar
 
Join Date: Jul 2002
Location: West Sussex
Posts: 271
Likes: 0
Received 0 Likes on 0 Posts
Question

We currently use Unix Tru64 for our DNS server which has a command "make hosts" to build the DNS zone files from a hosts file for us. We are looking to move DNS to a Redhat Linux server which doesn't appear to have a similar tool.

Any ideas on what I can use? I've seen lots of references to a perl script called "h2n" but can't actually find where to get it from?

Cheers,
James
Old 04 September 2003, 11:53 AM
  #2  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

ftp://ftp.hpl.hp.com/pub/h2n/h2n.tar.gz for one place to get it. You might need some other bits as well. Can you not modify your resolv.conf to use the hosts file before DNS? I have no idea what you're doing though of course
Old 04 September 2003, 01:49 PM
  #3  
JV
Scooby Regular
Thread Starter
 
JV's Avatar
 
Join Date: Jul 2002
Location: West Sussex
Posts: 271
Likes: 0
Received 0 Likes on 0 Posts
Post

Thanks for the swift reply. Unfortunately it's not just a case of changing resolv.conf as it needs to act as a primary DNS server for a couple of domains (forward and reverse) and as a forwarder.

Now I just need to trawl through the h2n docs....
Old 04 September 2003, 01:52 PM
  #4  
stevencotton
Scooby Regular
 
stevencotton's Avatar
 
Join Date: Jan 2001
Location: behind twin turbos
Posts: 2,710
Likes: 0
Received 1 Like on 1 Post
Post

DNS zonefiles couldn't be simpler, it's easy so don't worry
Old 04 September 2003, 03:15 PM
  #5  
orbv
Scooby Regular
 
orbv's Avatar
 
Join Date: Apr 2001
Location: Hants
Posts: 1,103
Likes: 0
Received 0 Likes on 0 Posts
Wink

h2n is your friend
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
jonc
Non Scooby Related
58
02 November 2015 03:37 PM
Nick_Cat
Computer & Technology Related
2
26 September 2015 08:00 AM
Littleted
Computer & Technology Related
0
25 September 2015 08:44 AM
riiidaa
ScoobyNet General
1
12 September 2015 11:52 AM



Quick Reply: DNS zones from host file



All times are GMT +1. The time now is 10:02 AM.