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.
Hello all!
I have only this one problem left with configuring a router at my girlfriend's. Everything works fine, I have a running SuSE 9.0, a running pppoe-connection (with my provider's DNS servers submitted), dhcpd and firewall set up.
The clients can connect to the router (ssh and everything), and both (clients and router) can connect to the net, but the clients can do so only dierctly over the IP addresses. The router gets the dns addresses from the provider via pppoe/dhcp (they are correctly written into /etc/resolv.conf) but somehow won't pass them by dhcp to the clients.
Is there a way to tell the dhcpd not to tell the clients a static dns address but rather take it from somewhere? I really don't like the idea of changing them by hand each time the isp changes them (ok, I know, this won't happen too often, but still...)
You should look to see if you router provides some kind of dns resolver for you. Alot of the newer routers will act as dns resolvers so all the clients have to do is query the router for dns resolution.
OK, I think I havent expressed my problem well enough. I've set up an old Pentium PC as router, and I'm wondering if I can configure it to forward the DNS server address it gets from the ISP to the other clients by dhcp. Everything else in the running dhcpd works well so far.
The /etc/resolv.conf on the router is modified correctly by the pppd, my dhcpd.conf is as follows:
I may have missed your meaning and if I have disregard this post.
Would it be more effective to set the router up to use nat for forwarding on the dns query. If you forward all tcp requests on port 53 to your dhcp assigned dns.
The problem you will have with the method that you are proposing is that all of your clients will have internal addresses. If they are not nat'ed by the router you won't get any packet back. So the above method would be easiest.
Sorry I cant give you the specific rules for your firewall but hopefully this will help.
Originally posted by kinasz I may have missed your meaning and if I have disregard this post.
Would it be more effective to set the router up to use nat for forwarding on the dns query. If you forward all tcp requests on port 53 to your dhcp assigned dns.
Well, thats what I'm doing right now, I'm sending the clients the dns address by dhcp, and they can connect (routed through 53, firewall is ok) to the dns server alright. But still, when the dns server changes (as is think it might be one of my provider, so it is'n _that_ static), i will have to reconfigure the dhcpd by hand again... even though it migt be a few years till then
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.