T
T
t0di2014-03-06 15:41:33
Domain Name System
t0di, 2014-03-06 15:41:33

How to set up dns server on bind?

Friends! Not very strong in administration, I read a lot of manuals, and I can’t fully understand the essence. There is a dns-server that gives the same ip (zone ".") for all domains. There are domains that need to be given real addresses, for this, zone files are created by hand, for these domains the dns server acts as a master. Now there is such an interesting task. There is a domain (teamviewer.com), which has a myriad of subdomains, and I need my dns server to forward to the same Google 8.8.8.8 when accessing any subdomain. Can't configure settings correctly.
I considered the zone setting as hint or forward type. All this works fine, only without my "." zone, which is considered a priority by the bind and the IP address from this zone is given.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
T
t0di, 2014-03-07
@t0di

Decided so:
Raised 2 dns-servers on different ports. For zone "." I specify forward-dns my 2nd on another port, in which one ip is already given for any domain. Accordingly, my master-dns works with the zone files it has, sends the rest of the requests to the second dns. With this machination, I managed to achieve the desired priority from bind.

P
Paul, 2014-03-06
@paul35

If I understood the task correctly, then I did this (all of the following for deb-base)
Go to /etc/network/interface and add
dns-nameservers a list of favorite dns-
s , add
forward first;
forwarders { list of favorite dns via ; };
4. Go to /etc/default/bind9, change the value to
RESOLVCONF=yes
5. Reload bind

V
Valentine, 2014-03-06
@vvpoloskin

Probably, if you don’t know how to formulate a question, you should contact the admins for a nominal fee?))

M
Marie Artie, 2015-06-11
@Tantbpv

may disagree with me, but it seems to me that there is nothing wrong with making the logo a full-fledged element of the menu list. especially if you remove the home link and trust the transition to the main logo.
for the symmetry of the menu, you can add some new subsection or remove another one.

<ul id="main-nav">
  <li><a href="/">about us</a></li>
  <li><a href="/">portfolio</a></li>
  <li class="logo"><a href="/"><img /></a></li>    
  <li><a href="/">blog</a></li>
  <li><a href="/">contact</a></li>
</ul>

many, of course, are perverted as they can. in the example below, the sign was generally dispensed with. but standard cms trained me to think that a menu is a list.
fashion-light.ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question