TAG: can't ping, cannot ping, domain, bind, DNS
Ok so I've setup a DNS server with (Bind) through (Webmin).
And everything is working fine[I can ping myDomain.com] FROM my server[sv].
sv (ping myDomain.com) => return good address;
client[On the network](ping myDomain.com) => return bad address(The address of the real myDomain.com[on the internet]
But I can ping the ip of the server.
Now is my client isn't suppose to check on the network first, then if the DNS don't exist: search on the internet!?
Or simply there's a concept about DNS that I just missed
Goal: 1 Linux server + Many Windows clients connected trough the Domain.
----------------------------------------------------------------------
[SOLVED]*edit*
Thx to: netztier
Procedure:
Backup file;
edit "/etc/bind/named.conf.options";
Code:
sudo cp /etc/bind/named.conf.options /etc/bind/named.conf.options_BackUp
sudo nano /etc/bind/named.conf.options
Add option to file:
Code:
options {
...
allow-recursion {
localnets;
192.168.1.0/24;
};
...
}
Setup Clients:
Windows:
Code:
Control Panel > Network Connections >
Right click"Local network connection" > Properties >
Internet protocol(TCP /IP) [Properties]>
"Use the following DNS server addresses:"> Input DNS Server.
Ubuntu/Linux:
Code:
sudo cp /etc/resolv.conf /etc/resolv.conf_Backup
sudo nano /etc/resolv.conf
Add to first line:
"nameserver 192.168.x.x"
Thx again netztier
Bookmarks