Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th March 2011, 05:10
wirasto wirasto is offline
Junior Member
 
Join Date: Mar 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default Client can't use my dns server

INTERNET
|
|
|
Gateway ____________ ( Client 192.168.22.0/24)
|
|
|
( DNS 192.168.0.1)


I have set dns forwarders on bind configuration

forwarders {
202.134.1.10;
};


Client can "ping" to dns server. But client can't ping google.com when use 192.168.0.1 as name server.

Sorry, about my poor english
Reply With Quote
Sponsored Links
  #2  
Old 19th March 2011, 19:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Did you open and forward port 53 (TCP and UDP)?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 20th March 2011, 04:38
wirasto wirasto is offline
Junior Member
 
Join Date: Mar 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

I'm not implement any rule except nat for MASQUERADE.
What must I do on my gateway???
Reply With Quote
  #4  
Old 20th March 2011, 21:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Open port 53 (TCP and UDP) in the router's firewall and forward both ports to your DNS server.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 21st March 2011, 04:19
wirasto wirasto is offline
Junior Member
 
Join Date: Mar 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

I'm default forward for everything on my gw firewall and on my dns server. But still not work


iptables -P FORWARD ACCEPT
Reply With Quote
  #6  
Old 21st March 2011, 15:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Do you have a static or a dynamic IP? IF you have a dynamic IP, it might have changed in the meantime so that your client uses a wrong IP (besides, it is a bad idea to run a nameserver on a dynamic IP).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 22nd March 2011, 03:41
wirasto wirasto is offline
Junior Member
 
Join Date: Mar 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default

I'm use static ip
Reply With Quote
  #8  
Old 22nd March 2011, 14:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Does
Code:
dig @1.2.3.4 yourdomain.com
work (replace 1.2.3.4 with your public static IP)?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 23rd March 2011, 03:06
wirasto wirasto is offline
Junior Member
 
Join Date: Mar 2011
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

It work's now. I just put this options

Code:
allow-recursion { any; };
allow-recursion-on { any; };
Thank's for all reply
Reply With Quote
The Following User Says Thank You to wirasto For This Useful Post:
falko (23rd March 2011)
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
FTP cannot open remote folder!?! andysm849 Server Operation 23 16th October 2008 23:34
Google Apps dayjahone General 19 29th March 2008 17:25
subdomain and mail relay configuration aranthorn Installation/Configuration 24 3rd September 2007 22:53
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01


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


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