LinuxQuestions.org
Visit Jeremy's Blog.
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 03-12-2012, 03:22 PM   #1
rytec
Member
 
Registered: Mar 2009
Location: Belgium
Distribution: Ubuntu server 12.04 LTS / Raspbian Wheezy
Posts: 64

Rep: Reputation: 7
how to keep all traffic on LAN for own fqdn


I have setup bind on my ubuntu server and I have edited the file resolv.conf so that every client on the LAN gets the server ip as dns server.
But if I want to stay on the local network to reach my mailserver with my mobile phone through wifi it still goes to the outside.
How can I configure the server or bind or resolv.conf that all traffic for my own local domain stays inside and goes to my server?
 
Old 03-12-2012, 03:29 PM   #2
verigoth
Member
 
Registered: May 2002
Posts: 179

Rep: Reputation: Disabled
1) Your wireless access point/router or whatever is running DHCP service for the wireless clients is configured to hand out your DNS server to clients? Or your DNS server is set up to use itself for DNS (in /etc/resolv.conf)?
2) Your DNS zone file contains an A record that EXACTLY MATCHES the mail server set up on your phone?

If the answer to these questions is "yes" then your phone isn't as smart as it claims to be. What are you using for DHCP? Is the server also on the wireless network? If not is it on the same (bridged) subnet? If you do an nslookup from other clients on the network does it use your server?
 
  


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
IPTABLES: Forward from VPN to LAN, Need traffic to appear as if its coming from LAN. a2brute Linux - Networking 3 11-17-2008 11:53 AM
LAN traffic monitor vedang Linux - Server 1 02-11-2008 04:38 AM
accessing local webserver from inside LAN using FQDN zamri Linux - Networking 4 10-12-2006 08:36 PM
Monitoring LAN Traffic prov3.6 Linux - Networking 5 09-19-2005 04:53 PM
Redirects to subdomain on LAN using FQDN not working from Internet debian_dummy Linux - Software 5 12-13-2004 09:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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