Quote:
Any idea about my problem? |
Quote:
Quote:
|
Quote:
I don't know much about Pdnsd, but after a short look at the documentation it seems to be not really difficult to setup and it may be much better for the OP's purpose than dnsmasq. |
The server i have install the caching server is 24x7 open, so there is not any problem.
Tobi can you help me with my last problem? Why my Windows pc, doesn't accept as DNS the ip of the caching dns server? |
If you have the config file like mine (except of course the interface-name) it should work, if you have your Windows system configured correctly (I use manual configuration on Windows, no DHCP).
|
The configuration of my windows pc is:
Ip 192.168.1.9 Subnet: 255.255.255.0 Gateway: 192.168.1.1 And when i use for dns the ip of the caching server ( 192.168.1.200 ) I don't have Internet connection on the windows pc. Although the caching pc, is having Internet connection. May I ask which Centos version you have? I have heard that 5.8 is more stable than the 6.3 I have. Also I am using your configurations files. Leo |
I am using Debian for this, not CentOS. I somehow don't like RPM distros.
But this shouldn't change anything for the configuration. May it be possible that you have an active firewall on the server that prevents your Windows machine from connecting to the server? |
On the Centos I have the ip tables active. Should I have to open port 53 on iptables?
I am thinking of re-setup the server with Centos 5.8, but I can't find anywhere the minimal version. |
Quote:
listen-address=127.0.0.1 This means that only the server itself can connect to it. You need to change that config to: listen-address=192.168.1.200 Then other machines on the LAN can connect to it. You'll also need to change the resolv.conf on the caching server to: nameserver 192.168.1.200 |
And what about dns on caching server? Right now I have 127.0.0.1. Should I change it?
You can check my configuration files on post #11 on the previous page of this thread ( my configuration is the same as tobi's) |
Quote:
nameserver 192.168.1.200 Don't forget to restart dnsmasq after changing the config. |
Should I change the dns from the system-config-network command as well?
So you are saying that I must change the 127.0.0.1 with 192.168.1.200, on the caching server and on the configuration files right? Note: the caching server has ip 192.168.1.200 |
Quote:
It is also OK to use 127.0.0.1 in the resolv.conf file, works fine here. Quote:
|
Just use a text editor. Edit the /etc/dnsmasq.conf file and set:
listen-address=192.168.1.200 And then restart dnsmasq. Then edit /etc/resolv.conf and set: nameserver 192.168.1.200 That's all. Test using 'dig' on the server and try to browse on a Windows machine. |
Maybe I didn't explain well the configuration of my network.
I have a caching Linux pc with ip 192.168.1.200, gateway 182.168.1.1 and dns 127.0.0.1 When I ping and use the dig command from the Linux pc, I get valid results. Now I want all the windows pc's, to has as dns the caching server in order to increase the browsing speed. The problem is that when I change the dns of the windows pc, and I enter the ip of the caching server (192.168.1.200) then I don't have Internet connection. I will try to open the port 53 on iptables. Then I will try replacing 127.0.0.1 with 192.168.1.200 on the caching server. Thank you guys for your help so far!! I will post the results tomorrow! |
All times are GMT -5. The time now is 07:09 AM. |