LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2013, 02:21 AM   #1
prowla
Member
 
Registered: Feb 2011
Location: UK
Distribution: RHEL 5 & 6, Ubuntu 10
Posts: 93

Rep: Reputation: 3
hosts to DNS converter


Hi.

We need to set up a DNS server on CentOS, and I recall from the past having a utility on HP-UX called hosts2named, which I guess was based on the h2n utility mentioned in the DNS book.
I tried doing "yum provides" for hosts2named and h2n on a vanilla install of CentOS, but it came back with nothing.
Is there anything available for CentOS?

I've installed bind with "yum install bind*".

Code:
[root@vmdns1 ~]# yum list bind*
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.coreix.net
 * extras: mirror.rmg.io
 * updates: mirror.rmg.io
Installed Packages
bind.x86_64                        32:9.8.2-0.17.rc1.el6.3              @updates
bind-chroot.x86_64                 32:9.8.2-0.17.rc1.el6.3              @updates
bind-devel.x86_64                  32:9.8.2-0.17.rc1.el6.3              @updates
bind-dyndb-ldap.x86_64             2.3-2.el6                            @base   
bind-libs.x86_64                   32:9.8.2-0.17.rc1.el6.3              @updates
bind-sdb.x86_64                    32:9.8.2-0.17.rc1.el6.3              @updates
bind-utils.x86_64                  32:9.8.2-0.17.rc1.el6.3              @updates
Available Packages
bind-devel.i686                    32:9.8.2-0.17.rc1.el6.3              updates 
bind-libs.i686                     32:9.8.2-0.17.rc1.el6.3              updates 
[root@vmdns1 ~]#

Thanks for looking!
 
Old 03-12-2013, 03:54 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
converting a few host file entries is pretty trivial compared to setting up the rest of the service. Can't you just pump the file through a few sed commands or such?
 
  


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
IP to DNS converter that can handle a huge number of entries pkramerruiz Programming 1 05-06-2012 02:55 PM
DNS doesn't resolv hosts that are on internal DNS Tux-Slack Linux - Networking 8 06-03-2008 06:42 AM
how to add new hosts to dns yyazici Linux - Server 6 01-25-2007 08:35 AM
Repoint DNS in /etc/hosts Ephracis Linux - Networking 2 07-18-2005 07:21 AM
moving hosts and DNS branden_burger Linux - Networking 3 05-14-2005 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:58 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