Problem on DNS server using Bind
hi, guys... please help...
I'm using Mandriva 2006 and currently on the trial to DNS server using bind here's my configuration: - /etc/named.conf: zone "e-doc.co" in { type master; file "db.e-doc.co"; allow-update {none;}; }; zone "9.168.192.in-addr.arpa" in{ type master; file "rev.e-doc.co"; allow-update {none;}; }; - db.e-doc.co: @IN NS NS1.e-doc.co @IN NS NS2.e-doc.co e-document in A 192.168.9.14 - /etc/resolv.conf: search e-doc.co nameserver 127.0.0.1 I have an application running on 192.168.9.14 [Windows XP], and my DNS server is running on 192.168.9.158 [Linux Mandriva 2006]. If I tried on 9.158 on the firefox and I enter: http://e-document and it worked. BUT, if I try that on 192.168.9.xxx [other IP address but the same segment], it wont show up... can somebody please point my mistake? Thanks |
You have to use your dns IP (192.168.9.158) to the other PCs on 192.168.9.xxx subnet
|
i have entered 192.168.9.158 as the primary DNS Address but still i can't access the http://e-document... did I miss something here?
|
In your linux box you can find the URL http://e-document because you have the "search ..." line in your resolv.conf. For the other boxes you must give the FQDN in your url i.e. http://e-document.e-doc.co, or make the appropriate changes in their /etc/resolv.conf
|
umm.. bathory, but other machines are windows based... only my DNS server is operating on Linux...
so, should I add the http://e-document.e-doc.co on every single windows machines? if so, how do i do it? Thanks very much for the kind replies... |
Does this URL http://e-document.e-doc.co work on your windows boxes? If it does, but you don't want to give the FQDN in the URL, then go to every windows box and change the dns settings to append your domain name suffix.
Regards |
no, bathory... the Full Qualified name didn't work.. I entered http://e-document.e-doc.co but it returned error message: "Host name lookup for 'e-document.e-doc.co' failed"
EDIT: bathory i just tried, if I ping e-document.e-doc.co from windows command prompt, it will return a replies... so, does this simplify what seems to be the problem? Thanks |
Check the dns setting of the windows boxes and perhaps the hosts file (WINDOWS\system32\drivers\etc\hosts) for wrong entries.
|
bathory: do i have to check every host files? i have around 200 PC's in my office and i want them all use my DNS server... setting every PC will be a pain...
|
Just check 1 or 2 boxes. Then try to setup the correct dns settings to one of them to see if it works.
Are your windows boxes using a proxy? |
All times are GMT -5. The time now is 10:11 PM. |