Jump to content

FREEBSD настройка bind


Recommended Posts

у меня такая задача:

есть локальный сервер со всякой хренью.

пользователи хотят заходить на него через браузер набирая имя, например, "serverhome", а не 192.168.1.1

в файле named.conf добавил

zone "serverhome" {
       type master;
       file "/etc/namedb/serverhome.hosts";
       };

файл serverhome.hosts

$ttl 38400
serverhome. IN      SOA     serverhome. admin.serverhome. (
                       1284590838
                       10800
                       3600
                       604800
                       38400 )
serverhome. IN      NS      192.168.1.1
www.serverhome.     IN      A       192.168.1.1
serverhome. IN      A       192.168.1.1

 

правильно или я что то не так делаю?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...