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 10-31-2014, 03:07 AM   #46
jennyj
LQ Newbie
 
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26

Original Poster
Rep: Reputation: Disabled
Unhappy


But when I reboot it still reverts to the old redirected DNS lookups problem

Last edited by jennyj; 10-31-2014 at 03:12 AM.
 
Old 10-31-2014, 03:11 AM   #47
jennyj
LQ Newbie
 
Registered: Oct 2014
Distribution: debian wheezy
Posts: 26

Original Poster
Rep: Reputation: Disabled
Talking

UNTIL...
I had this idea:
Code:
$ sudo iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination

Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
bitmask    all  --  anywhere             anywhere

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination
bitmask_postrouting  all  --  anywhere             anywhere

Chain bitmask (1 references)
target     prot opt source               destination
ACCEPT     udp  --  anywhere             if                   udp dpt:domain
ACCEPT     udp  --  anywhere             localhost            udp dpt:domain
DNAT       udp  --  anywhere             anywhere             udp dpt:domain to:10.42.0.1:53
DNAT       tcp  --  anywhere             anywhere             tcp dpt:domain to:10.42.0.1:53

Chain bitmask_postrouting (1 references)
target     prot opt source               destination
MASQUERADE  udp  --  anywhere             anywhere             udp dpt:domain
MASQUERADE  tcp  --  anywhere             anywhere             tcp dpt:domain
OFCAUSE! NAT! Found ya! So now if I just run the bitmask-root command and then save the iptables NAT rules it is PROPERLY fixed then.. and the DNS mystery is (re)solved!

Code:
$ sudo bitmask-root firewall stop
$ sudo dpkg-reconfigure iptables-persistent

Last edited by jennyj; 10-31-2014 at 03:13 AM.
 
  


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
DNS Setup Problem or Godaddy Problem videoman Linux - Networking 1 02-05-2009 05:38 PM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 10:59 PM
DNS Problem csdhiman Linux - Server 6 07-18-2007 08:37 AM
DNS problem hinetvenkat Linux - Networking 9 04-20-2005 02:55 AM
DNS problem hinetvenkat Linux User Groups (LUG) 1 04-18-2005 01:55 AM

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

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