How to organize a NS server?

0 like 0 dislike
7 views
Hello.

Have a LAMP server it is BIND(the hosting). Purchased domain for example domain.com

Tell me is it possible to configure BIND for that would when you purchase a new domain in the NS records it was possible to write something like ns1.domain.by. Or maybe someone could throw some links on this issue. About the organization of the DNS has already smoked a bunch of stuff. Need something for a specific organization NS servers.
by | 7 views

5 Answers

0 like 0 dislike
The most enjoyable help here. Questions after reading lost.
by
0 like 0 dislike
A couple of weeks ago, faced with this problem, here is my solution:
OS Debian
\r
sudo vim /etc/bind/named.conf
\r
added
zone "mydimain.ru" {
type master;
file "/etc/bind/db.my:;
}
forth edit sudo vim /etc/bind/db.my
\r
$TTL 3600
Forgot password?.. IN SOA ns1.mydimain.ru root.mydimain.ru. (2010061200 10800 3600 604800 86400)
ns1 IN A 92.47.155.100
ns2 IN A 92.47.166.22
asiapages.kz. IN NS ns1.mydimain.ru.
asiapages.kz. IN NS ns2.mydimain.ru.
asiapages.kz. IN A 92.47.104.45
\rwww.mydimain.ru. IN A 92.47.104.45
mydimain.ru. IN MX 10 mail.mydimain.ru.
mail.mydimain.ru. IN A 92.47.104.45
\r
PS IP from a lantern took
\r
Further restartujete bind and go to your domain Registrar and they create the ns records... how it is done I will not say... it's different for everyone... then it works... if you have any questions please!
by
0 like 0 dislike
by
0 like 0 dislike
First, if you want to host EN-zone, then you need one IP from the other subnet. For other areas it does not matter and we can all hang on a single IP.
Next you need to decide to hang up all domains on the same NS-s (type ns1-ns2.mynsdomain.com) or for each domain to create your own ns1/ns2. The first option is easier.
Yet we must not forget that for COM, NET, and other servers need to register as child-s, not just to create A record and all. This is done in the interface domain Registrar.
Great help in the diagnosis you will have a dig +trace www.domain.com.
Other technical aspects of the installation can be read here.
by
0 like 0 dislike
I liked this article about setting up BIND.
by
110,608 questions
257,186 answers
0 comments
28,757 users