Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
To check if it's your firewall to blame, -j LOG, but it shouldnt be if I understand your situation correctly.
Does your resolv.conf point to your dns server? Does your dns server resolve other hostnames? Do you have a secondary nameserver that your dns queries are failing over to? This may make it falsely look like your dns server is working for outside domains when it's not working at all. Is your dns server running on your inside interface?
Please post what the problem was and how you solved it so others can benefit. The trend seems to be asking a question before searching the forum, but maybe there's one person out there that could benefit from this thread in the future.
#dns querry to local doamain
$IPT -A OUTPUT -p UDP -o $LAN_IFACE --sport 53 -j ACCEPT
#access to mail server
$IPT -A OUTPUT -p TCP -o $LAN_IFACE --sport 25 -j ACCEPT
$IPT -A OUTPUT -p TCP -o $LAN_IFACE --sport 110 -j ACCEPT
$IPT -A OUTPUT -p TCP -o $LAN_IFACE --sport 995 -j ACCEPT
#access to http und https
$IPT -A OUTPUT -p TCP -o $LAN_IFACE --sport 80 -j ACCEPT
$IPT -A OUTPUT -p TCP -o $LAN_IFACE --sport 443 -j ACCEPT
#access to fpt (port 221) und ftp passive ports
$IPT -A OUTPUT -p TCP -o $LAN_IFACE --sport 221 -j ACCEPT
$IPT -A OUTPUT -p TCP -o $LAN_IFACE --sport 30000:32000 -j ACCEPT
i have only a nameserver , the problem was the domain can be accessed from internet but not from the local are netork.... the domain is located on the same machime witch it's also the gateway to the lan...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.