› Forums › Network Management › ZeroShell › DNS Problems – Can anyone help?
- This topic is empty.
-
AuthorPosts
-
August 11, 2009 at 2:00 pm #41847
AntiBodies
MemberLooked at a few forum entries and zeroshell tutorials etc but none seem to help me.
nothing fancy just want to setup the DNS functions of Zeroshell.
so I would like my own internal domain.. mydomain.local
I would like all DHCP clients to use Zeroshell (Gateway) as the DNS server to resolve Internet addresses and everythingSo I can setup Forwarders.. ANY for ns1.myisp.com,ns2.myisp.com
when I am creating the Domain (Create Button) I create with the domain mydomain.local it also lists the firewall host myfirewall.mydomain.local. (fullstop after) and automatically creates the email hostmaster.mydomain.local. (not going to really use this just yet) BUT it says “WARNING: an error has been found in this entry. Click on Query button for more details about it”..
It creates the settings though but every time you return to the page it gives this error.. so clicking on Query gives me the following
mydomain.local
RESOLVER ERROR:
Trying “mydomain.local”
Received 31 bytes from 127.0.0.1#53 in 1 ms
Trying “mydomain.local”
Using domain server:
Name: localhost
Address: 127.0.0.1#53
Aliases:Host mydomain.local not found: 2(SERVFAIL)
Received 31 bytes from 127.0.0.1#53 in 0 msso what am I doing wrong..
despite all this forwarding of domain queries isnt working so ive set my DHCP to just give out the ISP domain IPs.
any ideas? seems really simple.. I must be doing something obviously wrong.. could it be I cant use a .local type domain address?? this is a standard Ive used with windows internal domains for a while.
any help would be greatly appreciated.
August 12, 2009 at 11:54 am #48576ppalias
MemberOn DHCP you need to assign as first DNS the IP address of your ZS, pretty simple.
On DNS take a look on what I’ve done to my setup and works.
In Options add these:
recursion yes;
allow-query {10.0.0.0/8;127.0.0.0/8;};change 10.0.0.0/8 with the prefix of your internal network.
February 22, 2010 at 12:59 pm #48577doudou225
MemberThanks PPALIAS. So if i well understood, in case of a dunamic ip adressing, i have just to add NS entries ( to indicate the name server that should be use ) and alosi a SOA entry?????
By this way, would be automatically updated and record automatically the names and adress?
Thank for your time.
February 22, 2010 at 2:43 pm #48578ppalias
MemberSOA is used only once and describes things as which is the zone (in our example it is trendy.awmn), mail to contact administrator, serial, timeouts and last but not least the NS for this zone (i.e ns0.trendy.awmn).
A is used to link a name with an IP.
There are some ways to automatically update DNS upon connecting a user, but I don’t know if it works with ZS. Better create the names you want by yourself.February 23, 2010 at 11:21 am #48579doudou225
MemberThanks, it’s getting clearer to me. But in your screenshot of dns section, those :
dhcp-home x A @ip are recorded manually. If so, i suppose dhcp-home x is automatically adressed, what if the @ lease is over???That’s what i meant saying automatically update in my last post.
Thank you very much for your time.
February 23, 2010 at 12:25 pm #48580ppalias
MemberYes, the dhcp-home-X are manually created by me. When the lease is over, the entry still exists but the address won’t reply in any request, since there will be no PC on that address. Hope it’s clear to you now.
February 23, 2010 at 12:47 pm #48581doudou225
MemberYes, thanks , it’s clear now. So i think ZS cannot be useful in my case , coz i get a 30 min dhcp leases on my network, and i wanted ZS dns server to resolve their name according to the ip @ changes. Thank you anyway PPALIAS.
February 23, 2010 at 3:09 pm #48582ppalias
MemberCould you give us an example of what you want? It may be something that can be done, but I don’t think I understand what do you want to achieve.
February 24, 2010 at 8:34 am #48583doudou225
Memberok. I’m used with doing that with the microsoft product such as Windows server 2003, where i set up both a dns ans dhcp server. Within this dynamic ip adressing (ip @ keep changing), my dns server still resolve the computers names even though the ip @ change. That’s due to the automatical update of the dns server about ip @ changes so that it could relate the hostname to its current ip @. As i want to use a dhcp server in my network along with ZS, it ‘s not easy to enter manually something like hostname ( dhcp-home x) and relate it to its ip @!!!!. That could fit in a static ip adressing.
Hope you understand what i mean. As usual, thanks a lot for your time. I appreciate. Expecting your reply.February 24, 2010 at 9:56 am #48584ppalias
MemberYes I understand now what you want to do. It can be applied to ISC-DHCPD and ISC-BIND, but I am not sure if it can be applied to the dns and dhcp of ZS. Google “ddns-update-style” for more information.
February 24, 2010 at 10:08 am #48585doudou225
Memberok, thanks, i check right away ddns-update style.
-
AuthorPosts
- You must be logged in to reply to this topic.