Re: BIND configuration file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





antonio montagnani wrote:

Ron Herring wrote/ha scritto, On/il 27/03/2004 05:20:

You'll find it as /etc/named.conf on most installations. /var/named is where the files referenced by named.conf are typically located (but which can be changed in the /etc/named.conf file).
Ron Herring
W7HD




--- antonio montagnani <anto.montagnani@xxxxxxxxxxx>
wrote:


Where is located the configuration file for (BIND)
named??? (I guess named.conf...)

--

Antonio M.




Named.conf is located in /var/named/chroot/etc/named.conf (tnx Alexander) but I can't read it with gedit (why??), so I do not know my configuration of BIND (if any..). No named.conf file is in my Etc directory.

My problem is:
1) I have a network where Comp 192.168.0.1 is the router/firewall connected to Internet (ADSL) with a second NIC.It gets DNS from ISP.
2) DHCP is running fine and IP's are set on the other PC on my network
3) If I set some DNS on my other PC's everything works
4) If I want that other computer get DNS from DNS on 192.168.0.1, what shall I do???
5) I must apologize
This is my dhcpd.conf file to be checked
_______________________________________
ddns-update-style interim;
ignore client-updates;

Since the linux box gets the DNS from the ISP, all you need is to set up a cacheing nameserver on that machine. Load and run bind, and then have the other boxes inside the firewall use the 192.168.0.1 address for their nameservice.


When I did this I do not even have to do anything with the named configuration files since it is all dynamic and the caching nameservice handles it.




# Rete casa
subnet 192.168.0.0 netmask 255.255.255.0 {
  # --- default gateway
  option routers 192.168.0.1;
  option subnet-mask 255.255.255.0;
  range dynamic-bootp 192.168.0.128 192.168.0.254;
  default-lease-time 21600;
  max-lease-time 43200;
  }

___________________________________________________________
Tnx to all who replied!!!!




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux