› Forums › Network Management › ZeroShell › How to change resolv.conf?
- This topic is empty.
-
AuthorPosts
-
November 23, 2009 at 10:31 pm #42058
DrBrain
MemberHello,
I need to add my local DNS on resolv.conf but the filesystem on which it resides is read-only. Can you please let me know how is it possible to do such a basic change as this one?
November 23, 2009 at 11:00 pm #49148atheling
MemberI’m new to this too, but I think you can go to the DNS page and setup the “forwarder” DNS address to be your local DNS machine.
You might have to create a DNS zone. (Not sure as I created a DNS zone at the same time I set up the forwarders to be the DNS servers of my choice.)
November 23, 2009 at 11:19 pm #49149DrBrain
MemberHello.
I did that for server ANY but it doesn’t work 🙁 I don’t have a DNS zone though. It really can’t be that difficult… any help guys?
November 23, 2009 at 11:25 pm #49150atheling
MemberI’m beating my head against the wall on my initial setup in a different area. When I get home and work on it some more this evening I’ll take another look at the DNS settings and see if I can figure out what the deal is.
My case may be slightly different too as I’m running off a flash drive rather than a CD so I think I might be able to directly edit some areas. I haven’t tried that yet, just using the UI to set things then using a Bash shell to examine the results to see what I’m actually getting.
November 24, 2009 at 6:12 am #49151atheling
MemberI took a little time to see how the DNS is configured. Looks like resolv.conf always points to localhost. So setting the forwarders for the DNS server running on Zeroshell is probably the official way to do things.
It looks like the forwarders list can be independent of any zones (“ALL”) and that ought to work.
When you use the “dig” command on your Linux/Unix client machine what does it show?
November 24, 2009 at 8:03 am #49152ppalias
MemberIt has to be done in the DNS forwarders page with the “ANY” keyword. Then it works fine. Don’t forget to save and make sure the DNS you add allows you to query recursively.
If problem still exists, as atheling mentioned issue the dig command on a shell and paste the output here.November 24, 2009 at 8:33 am #49153DrBrain
MemberThanks for the answers. Actually, what was missing in my configuration was the ‘Default Gateway’ (my ADSL modem). After setting it up through the command-line menu, DNS resolution worked fine without having to set anything in the DNS forwarders.
-
AuthorPosts
- You must be logged in to reply to this topic.