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 11-18-2008, 09:34 AM   #1
mboudro
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Rep: Reputation: 0
Local DNS Configuration


I have a Ubuntu 8.04 server running apache2 and bind9. I can access my DNS via the localhost (dig caritasnet.com) and the internet (http://network-tools.com/) but I cannot seem to access my domain through my local network. On my router, there is a function for DNS relay, which automatically reroutes my local network DNS to the DNS servers of my ISP. After I disable that function my local networks lose their DNS capability. How would I configure my local domain server (caritasnet.com) to handle the local DNS? Do I need to have each computer join the domain before I can access domain resources?

What I would also like to do is direct local domain(caritasnet.com) traffic to the apache client. In other words, if someone accesses caritasnet.com from their browser, it would automatically direct to this server, even if the domain isn't externally associated with that IP address.

I can access the server via ssh, ftp, apache(www) and samba, both internally and externally.

Thanks in advance for your help.


Quote:
Answer records
name class type data time to live
caritasnet.com IN SOA
server: ns1.caritasnet.com
email: admin@caritasnet.com
serial: 2007031001
refresh: 28800
retry: 3600
expire: 604800
minimum ttl: 38400
38400s (10h 40m)
caritasnet.com IN NS ns1.caritasnet.com 38400s (10h 40m)
caritasnet.com IN MX
preference: 10
exchange: mail.caritasnet.com
38400s (10h 40m)
Authority records
[none]
Additional records
name class type data time to live
ns1.caritasnet.com IN A 192.168.1.180 38400s (10h 40m)

My Local Configuration caritasnet.com.db file

Quote:
caritasnet.com. IN SOA ns1.caritasnet.com. admin.caritasnet.com. (
2007031001
28800
3600
604800
38400
)

caritasnet.com. IN NS ns1.caritasnet.com.
caritasnet.com. IN MX 10 mail.caritasnet.com.

www IN A 192.168.1.180
mta IN A 192.168.1.180
ns1 IN A 192.168.1.180

Last edited by mboudro; 11-18-2008 at 10:10 AM.
 
Old 11-19-2008, 04:04 AM   #2
tajamari
Member
 
Registered: Jul 2007
Distribution: Red Hat CentOS Ubuntu FreeBSD OpenSuSe
Posts: 252

Rep: Reputation: 32
Quote:
Originally Posted by mboudro View Post
I have a Ubuntu 8.04 server running apache2 and bind9. I can access my DNS via the localhost (dig caritasnet.com) and the internet (http://network-tools.com/) but I cannot seem to access my domain through my local network. On my router, there is a function for DNS relay, which automatically reroutes my local network DNS to the DNS servers of my ISP. After I disable that function my local networks lose their DNS capability. How would I configure my local domain server (caritasnet.com) to handle the local DNS? Do I need to have each computer join the domain before I can access domain resources?

What I would also like to do is direct local domain(caritasnet.com) traffic to the apache client. In other words, if someone accesses caritasnet.com from their browser, it would automatically direct to this server, even if the domain isn't externally associated with that IP address.

I can access the server via ssh, ftp, apache(www) and samba, both internally and externally.

Thanks in advance for your help.





My Local Configuration caritasnet.com.db file
Do you have a port-forearding or NAT enabled on your router?
 
Old 11-19-2008, 02:37 PM   #3
mboudro
LQ Newbie
 
Registered: Nov 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tajamari View Post
Do you have a port-forearding or NAT enabled on your router?
I have both enabled.
 
  


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
Local network DNS resolution fails, but DNS resolution to internet is OK farge Linux - Networking 6 05-28-2008 11:49 PM
DNS configuration and configuration file in RHEL5 remo1225 Linux - Newbie 1 02-20-2008 04:25 AM
How to configure DNS for a local LAN (at least I think I want DNS) FlyingPenguin128 Linux - Networking 8 12-11-2005 04:15 PM
DNS configuration: How 2 change from local to remote nameservers Kropotkin Fedora 3 05-31-2005 01:22 PM
dns check outside dns before local reaky Linux - Networking 1 02-22-2004 09:27 AM

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

All times are GMT -5. The time now is 01:38 AM.

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