LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-11-2012, 03:41 PM   #1
rytec
Member
 
Registered: Mar 2009
Location: Belgium
Distribution: Ubuntu server 12.04 LTS / Raspbian Wheezy
Posts: 64

Rep: Reputation: 7
how to create a forwarding zone in Ubuntu server


I have Ubuntu server running with bind9 and I have configured some forwarding ip addresses for dns
I also have the file resolv.conf where i have added the isp dns numbers

but I think i do it wrong and i need to create zones for dns lookup?

I also have another issue and that is that if i connect my mobile phone at home on wifi this works but if i want to sync the mails from my work it should go through another nameserver but this name is not found through the standard dns servers because it is an internal name on our work network.
Somebody told me to create some kind of forwarding zone in ubuntu that if i ask this name it should forward it to the ip address of our server at work through the existing vpn tunnel.

Can somebody explain how to create this forwarding rule/zone in the ubuntu server?
 
Old 03-12-2012, 01:56 AM   #2
leslie_jones
Member
 
Registered: Sep 2011
Posts: 130

Rep: Reputation: Disabled
Chewing this over, and there may be other ways - but I'm lazy; Would it not be simpler to set up a local zone file in your bind server, so if a query is made for 'mail.my_company.internal' it just resolves the IP address for it? If this then turns out to be a non-routable private address I'm guessing adding a static route to push it down the VPN would be the fix for that aspect of it?

My knowledge is sketchy here so apologies if this is plain wrong:, but BIND does do 'views' where certain clients can be made to see the 'DNS stratosphere' in different contexts. I think this may include setting of different forwarders on a per 'view' basis. Perhaps this link: http://www.zytrax.com/books/dns/ch7/view.html would be a useful starting point?
 
  


Reply



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
Ubuntu Server UFW Port Forwarding jemate18 Linux - Server 1 10-23-2011 09:39 AM
Run script in EST time zone but server is in GMT zone jeesun Linux - Networking 1 04-04-2010 01:37 PM
forwarding zone troubles on Debian Sarge w/ Bind 9.3.1 kenwoodgt Linux - Networking 0 08-29-2007 09:28 AM
Port forwarding from Ubuntu 5.10 server czk101 Linux - Networking 2 01-27-2006 08:16 PM
Create zone files by querying dns server kloppster Linux - Software 1 08-19-2004 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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