Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th July 2009, 22:42
binaryrogue binaryrogue is offline
Member
 
Join Date: Apr 2008
Posts: 89
Thanks: 5
Thanked 0 Times in 0 Posts
Default DNS (using only for internal) not resolving names

I'm trying to setup ispconfig3 as an internal DNS server resolving only server/pc names.

I created an DNS zone called mydomain.local and created about five 5 A records.

hostname: server1
IP-address: 192.168.3.2

hostname: server2
Ip-address: 192.168.3.3
.
.
.

If I try to configure one of my PC desktop on the network and set the primary DNS server to the ispconfig3 box, I can't resolve/ping by name:

[root@star]# ping server1
ping: unknown host server1

Am I missing something?

Last edited by binaryrogue; 16th July 2009 at 23:00.
Reply With Quote
Sponsored Links
  #2  
Old 17th July 2009, 10:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

You have to use:

ping server1.mydomain.local and not just server1 as the zone is mydomain.local

Please try this command on the server:

dig @localhost server1.mydomain.local

also make sure that your zone ends with a dot:

mydomain.local.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th July 2009, 10:29
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

[root@star]# ping server1

i that only works if you put
Code:
search mydomain.local
in your /etc/resolv.conf
Reply With Quote
The Following User Says Thank You to Mark_NL For This Useful Post:
binaryrogue (17th July 2009)
  #4  
Old 17th July 2009, 18:41
binaryrogue binaryrogue is offline
Member
 
Join Date: Apr 2008
Posts: 89
Thanks: 5
Thanked 0 Times in 0 Posts
 
Default

DNS was working all this time because I could always ping by the fqdn. I wanted a way just to ping my system name. Putting in "search mydomain.local" in the resolv.conf file did the trick. thanks guys.
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
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
Google Apps dayjahone General 19 29th March 2008 17:25
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34
No SPF record. beryl Installation/Configuration 6 17th May 2007 19:52


All times are GMT +2. The time now is 03:52.


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