Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > MyDNSConfig > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th October 2006, 00:19
fernvalley fernvalley is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default localhost not resolving

When I run a dns checker, like sleuth, the only error I get is as follows:

Checking mapping of localhost
-> localhost. 86400 IN A 172.0.0.1
### Error: Invalid resource records for localhost ns1.example.com [RFC1912/4.1]
### Warning: Reverse mapping of 127.0.0.1 at ns1.example.com doesn't work [RFC1912/4.1]

Is there a way to add this through mydnsconfig?

Thanks
J.
Reply With Quote
Sponsored Links
  #2  
Old 17th October 2006, 09:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
Default

Localhost is normally not added in a DNS server, it is added in your /etc/hosts file.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th October 2006, 15:20
fernvalley fernvalley is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Solved it!

A localhost zone would look like this:

loalhost. 86400 IN SOA IN SOA your.dns.server. hostmaster.your.domain. 2006101700 86400 3600 36000000 7200
localhost. 86400 IN NS localhost.
localhost. 86400 IN A 127.0.0.1

The PTR (Pointer Record) will go into the zone 127.in-addr.arpa.,
which should also be hosted on your DNS Server(s):

127.in-addr.arpa. 86400 IN SOA your.dns.server. hostmaster.your.domain. 2006101700 86400 3600 36000000 7200
127.in-addr.arpa. 86400 IN NS localhost.
* 86400 IN PTR localhost.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
maildir not created t_ras Installation/Configuration 3 1st July 2006 12:52
Internet Mail Problem deezone Installation/Configuration 9 22nd February 2006 21:09
Virtual Users + Domains With Postfix etc. byw HOWTO-Related Questions 6 20th February 2006 10:10
Can't receive mail Gem Installation/Configuration 17 4th February 2006 19:29


All times are GMT +2. The time now is 04:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.