S
S
santik12014-10-02 22:34:10
Domain Name System
santik1, 2014-10-02 22:34:10

How to redirect DNS requests for all subdomains to another DNS server?

There is a domain.ru domain At the registrar reg.ru. In the registrar's control panel, the domain is delegated to the Yandex DNS servers (dns1.yandex.net, dns2.yandex.net). In the domain control panel on Yandex, the main records are respectively registered

@	A	[ip_address]
www	A	[ip_address]
и др.

I need all requests for subdomains (3rd-level domains, for example sub.domain.ru), which are not explicitly registered in the Yandex control panel, to be redirected to other DNS servers.
I tried to prescribe in the control panel on Yandex
@	NS	ns1.otherdns.com
@	NS	ns2.otherdns.com

(more precisely, replace the records
@	NS	dns1.yandex.net
@	NS	dns2.yandex.net

, which were there by default), but nothing happens. Direct requests to ns1.otherdns.com and ns2.otherdns.com all work. They return the desired IP.
How to make such a connection?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Cool Admin, 2014-10-03
@ifaustrue

Why do you need it? (maybe there is a solution without using DNS server spoofing)

V
Vlad Zhivotnev, 2016-02-06
@inkvizitor68sl

* NS ns1.otherdns.com
So try

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question