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 18th November 2009, 00:56
enmi enmi is offline
Junior Member
 
Join Date: Nov 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default If using only Ispconfig as NS no connection to internet

Hi!

When i used ispconfig 2 i could set my network settings and use the ip of the ispconfig 2 server as DNS and i could also access internet..

In ispconfig 3 this doesnt work i have to have both the ispconfig 3 dns server and the ip-adress of the router. How would i go about fixing it so i would only need the ispconfig 3 ip adress as dns-server and being able to access internet?
Reply With Quote
Sponsored Links
  #2  
Old 18th November 2009, 08:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,594
Thanks: 792
Thanked 4,984 Times in 3,904 Posts
Default

Mydns is a non resolving dns server. If you want to use it to resolve external domains too, you have to installa nd configure a dns resolver like dnsmasq. Take a look here for some info on how to configure dnsmasq in mydns:

http://www.howtoforge.com/mydns_mydn...on_ubuntu_edgy
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th November 2009, 10:25
enmi enmi is offline
Junior Member
 
Join Date: Nov 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Would it be enough to do only the dnsmasq part on the ispconfig 3 server? from the article at http://www.howtoforge.com/mydns_mydnsconfig_dnsmasp_on_ubuntu_edgy:

Installing DNSMasq
MyDNS does not contain a DNS resolver that is able to resolve DNS records that MyDNS is not athoritive for. In the next step I will install and configure the DNS resolver and cache DNSMasq to act as a local DNS resolver and configure MyDNS to use DNSMasq to resolve external domains. If you don't want your server to resolve external domains, you can skip this part.

Create a DNS Resolver on IP 127.0.0.1:

apt-get install dnsmasq

This installs the dnsmasq Ubuntu package. Now we will have to edit the DNSMasq and MyDNS configuration files to ensure that both pacakges won't listen on the same port on all IP addresses.

vi /etc/dnsmasq.conf

listen-address=127.0.0.1
no-dhcp-interface=
bind-interfacesNow edit the mydns.conf file to configure MyDNS to not listen on 127.0.0.1:

vi /etc/mydns.conf

no-listen = 127.0.0.1
recursive = 127.0.0.1Then edit /etc/resolv.conf:

vi /etc/resolv.conf

and add the following line as first line so that the DNSMasq DNS-Cache is used for all local DNS queries, too:

nameserver 127.0.0.1
Reply With Quote
  #4  
Old 19th November 2009, 10:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,594
Thanks: 792
Thanked 4,984 Times in 3,904 Posts
Default

Yes. Only do the dnsmasq part.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 19th November 2009, 17:54
enmi enmi is offline
Junior Member
 
Join Date: Nov 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Ok i have done the changes to the config files started dnsmasq..

Changed the DNS-server field on the client to the ip-address of the ispconfig3 machine.. but i cant reach the internet.

My router/gateway that my isp has provided has the ip-adress 192.168.1.254 and when i have that number also in the dns-server field on the client i can reach the internet. the reason i want this setup is for local LANS and such where the config of the Internet connection can often differ..
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
Relay access attempts cat Installation/Configuration 12 22nd January 2010 17:15
Install ISPConfig 3 Without Internet Connection Rex Feature Requests 1 6th October 2009 11:41
Can't send mail [Lenny ISPConfig 3] Deficit HOWTO-Related Questions 2 14th June 2009 14:30
Centos 5.2 + ISPConfig 3 tutorial - Problem with email tanakskool Server Operation 1 3rd June 2009 16:22
kann keine mails empfangen odin1 Installation/Configuration 5 6th July 2006 12:13


All times are GMT +2. The time now is 17:00.


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