Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I'm trying to setup on the client end (the server end "should" be good), a DNS server. I would like to set on a DD-WRT router, a DNS server address, gotten from DNS. Initially, I want to connect to a DNS server. One of the standard ones like google public DNS. Then, I want to resolve the name of my network router on the "back end". Then I want it's IP (it's a dynamic IP), to be used as the primary DNS server.
So far, I'm having a weird error where I can't even connect manually with putting in the dynamic IP directly and pretending like it won't change. Please help!
P.S. - This was after a weird error where putting the router in the DMZ failed, even when it was correctly put in. Then that just started to work normally.
I have the DNS server opened on the back end, port 53 UDP/TCP. I'm using the public IP as the IP for the server, essentially. I cannot resolve the names I have set up even when it correctly points to the server. However, I can resolve all "public" names.
dnsmasq is a DHCP server as well as a DNS forwarder and also provides a LAN DNS service. The DHCP server should be configured with the correct options for DNS and gateway which is the router's LAN IP address. It isn't going to work if you are using the router's public IP address.
No. Actually, I don't know how to use dnsmasq at all anyway. I don't have dnsmasq configured, I do not believe...
But here's what I've got:
On the "backend", I have a PC with Mandriva Linux 2010.1 running bind, which has been configured with webmin. This is in a network. The router shares services by NAT. There is another router, for our DSL. It puts mainrouter in the DMZ. One of the services shared by NAT is DNS (or at least I'm trying to).
Then there is the "frontend", which is a special frontend. This frontend looks like a normal home network, except with lots and lots of devices, especially media devices, as well as more than one computer. So while it looks relatively normal, it is a bit advanced... I was trying to use the public IP address of the "backend" as the local DNS of the "frontend". Except for because the backend has a dynamic ip address, I was trying to first connect to Google Public DNS, then resolve the hostname of the network, then use that value as the local DNS server. There is a zone set up in that DNS server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.