0

I am in a private network having 192.168.1.0/24 . I have a wireless router, i am providing wifi hotspot to my users with wireless router and i have 100 users in the network. I want to provide name to my webserver's ip. for that I selected bind. But i am not connected to any ISP's(i haven't any internet facility) so what ip i have to give in the forward section of named.conf.options.

and what configuration i have to put in db.domain file i don't know about SOA? my webserver's ip is 192.168.1.29.

0

In the forward section you can keep your DNS server IP, or just set some Generic ISP IP such as 4.4.4.4 or 8.8.8.8. Indeed the forwards will not affect your internal DNS this is used when caching to the outer domains.

In order to understand bind9 with ubuntu it's better to read more about before starting your configuration.

you can read the official documentation from here. Another great tutorial can get from here

Please refer to this link How do I do a complete BIND9 DNS Server Configuration with a hostname? you can find your needs in detail

  • actually i provided the wifi hotspot with netgear router and i am running only one server i haven't any internet connections so how i can give forwarding servers as 8.8.8.8 – ashok May 29 '15 at 7:33
  • It's fake this will not be used if you don't have external connection. this is used for caching when connecting to external, but since you are not using Internet this will not affect your system, It's same if you just put your IP or any other IP – Maythux May 29 '15 at 7:35
  • i want use webserver as a dns server also because i have only one server. – ashok May 29 '15 at 7:35
  • @ashok it's the same – Maythux May 29 '15 at 7:36
  • my whole network is 192.168.1.0/24 my server getting the dhcp ip from the hotspot which is created in router. please guide me the configuration for dns server with bind. please. – ashok May 29 '15 at 7:38

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.