N
N
netherneon2010-12-06 18:13:00
Domain Name System
netherneon, 2010-12-06 18:13:00

How to set up an NS server correctly?

Hello.
There is a LAMP server on it is BIND (own mini hosting). For example, the domain.com domain was purchased. Tell me
if it is possible to configure BIND so that when buying a new domain in NS records, you could enter something similar to ns1.domain.by. Or maybe someone can throw links on this issue. I have already smoked a lot of material about the DNS organization itself. You need something for a specific organization of the NS server.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
B
bdmalex, 2010-12-06
@bdmalex

The most pleasant help is here . Questions disappear after reading.

N
NiGP, 2010-12-06
@NiGP

I ran into this problem a couple of weeks ago, here is my solution:
Debian OS
sudo vim /etc/bind/named.conf
add
zone "mydimain.ru" {
type master;
file "/etc/bind/db.my:;
}
then edit sudo vim /etc/bind/db.my
$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
www. 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
PS I took the IP from the flashlight
Next, you restart the bind and go to your domain registrar and create ns records there ... I won’t tell you how it’s done ... it’s different for everyone ... after that everything works ... if you have questions, contact me!

V
Vlad Zhivotnev, 2010-12-06
@inkvizitor68sl

www.google.ru/search?sourceid=chrome&ie=UTF-8&q=site:debian.pro+bind _

A
AstonMartin, 2010-12-06
@AstonMartin

Firstly, if you want to host RU zones, you also need an IP from a different subnet. For other zones, this is not important and you can hang everything on one IP.
Next, you need to decide whether to hang all domains on the same NSs (such as ns1-ns2.mynsdomain.com) or create your own ns1/ns2 for each domain. The first option is easier.
You also need to remember that for COM, NET and other zones, the NS server must be registered as children, and not just create A-records and that's it. This is done in the interface of the domain registrar. dig +trace www.domain.com
will be of great help in diagnosing . You can read other technical points on installation here .

N
nekritik, 2010-12-07
@nekritik

I liked this article about setting up BIND.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question