LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-21-2006, 04:29 PM   #1
gugabaga
Member
 
Registered: Jan 2006
Distribution: Fedora
Posts: 61

Rep: Reputation: 15
Customizing DNS Cache so that it resolves mail.localdomain.com to local ip address


Hi,

I have setup a mail server using Fedora 3 + Postfix + Cyrus IMAP + Saslauthd. I also have a internet gateway setup in my local lan with DNS caching on.

How do I setup my DNS cache to resolve DNS queries for mail.localdomain.com from clients to point to local ip address, which in this case is 192.168.127.3. At the present moment I am having to type the ip address in all my client nodes to have acccess to smtp and pop/imap services.

The internet gateway using IPTABLES masquerade has ip of 192.168.127.2

Regards
 
Old 02-21-2006, 05:27 PM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
okay, well you'll want to look into bind (the linux DNS server), now i'm at uni at the moment and i don't have access to my named.conf and other configuration files so i can't show you any examples.

you'll also want to look into webmin, it has an exellent web interface into bind.

you'll want to set all your client's DNS servers to be the ip-address of your DNS server.

Look into DNS, bind & named

it should be pretty strange forward once you get webmin installed and you understand the basics of DNS.

I have a how-to for setting up a internal Dyn DNS server on my website listed below, but that might be a little more advanced than what your looking for.

Last edited by paul_mat; 02-21-2006 at 05:38 PM.
 
Old 02-22-2006, 04:40 AM   #3
gugabaga
Member
 
Registered: Jan 2006
Distribution: Fedora
Posts: 61

Original Poster
Rep: Reputation: 15
Thanks paul for replying to my mail.

I am in the process of reading materials on DNS and BIND. I will go to your site and see if that helps as well.

I will keep you posted.

thanks once again

regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Virtual Hosts, DNS resolves, PLEASE HELP!! parasbshah Linux - Software 14 10-17-2005 01:38 PM
Error: Caching enabled and local cache: //var/cache/yum/base/primary.xml.gz does... dr_zayus69 Linux - Software 2 07-06-2005 04:32 AM
Any name resolves to. A? CNAME? DNS Q dlublink Linux - Networking 3 01-11-2005 09:55 AM
Redirecting non-user mail to a local address? Trent Hatred Red Hat 2 11-19-2003 10:59 AM
DNS for local items with no .localdomain taggedd Linux - Networking 5 10-27-2003 02:40 PM


All times are GMT -5. The time now is 10:05 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration