Внимание! В связи с борьбой со спамерами были удалены все аккаунты, не имеющие в своём активе сообщений.
Так же восстановлена работа уведомлений на почту.

Сервер1 DNS-зона на две сетки

Обсуждаем всё, что так или иначе связано с работой системы в качестве сервера (базы данных, почтовые и веб-сервера, файловые серверы и т.д.)
Сообщения: 8
Зарегистрирован: 29 апр 2015, 17:56

1 DNS-зона на две сетки

Сообщение sergey » 29 апр 2015, 18:06

Доброго времени!
На серваке есть 2 одноимённые зоны (для внешней и внутренней сети).
Задача: Заставить сервер (localhost) разрешать имена в двух зонах

Код: Выделить всё

cat /etc/named.conf
# Список доверенных серверов дя передачи зон
acl "trusted-dns" {;; localhost; 127/8; };
options {
        listen-on port 53 {;;; };
        listen-on-v6 port 53 { none; };
        directory       "/var/named";
        dump-file       "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
        allow-query     { localhost; 127/8; 195.0.1/24; 192.168.1/24; 10/8; };

#       recursion no;

        dnssec-enable yes;
        dnssec-validation yes;
        dnssec-lookaside auto;

        /* Path to ISC DLV key */
        bindkeys-file "/etc/named.iscdlv.key";

        managed-keys-directory "/var/named/dynamic";
        pid-file "/run/named/named.pid";
        session-keyfile "/run/named/session.key";
        forwarders {;; };

logging {
        channel default_debug {
        file "data/named.run";
        severity dynamic; };

include "/etc/named.root.key";

view "internal" {
     match-clients { 192.168.1/24; 10/8; 127/8; localhost; };
     # 127/8; localhost; - Для разрешения имён этим хостом
     // Наш сервер рекурсивен для внутренних клиентов, сам будет узнавать адрес для клиента
     recursion yes;
     zone "." IN {
        type hint;
        file "named.ca";

include "/etc/named.rfc1912.zones";

     zone "free-adm.ru" IN {
          type master;
          file "master/buch.ru.zone";

     zone "1.168.192.IN-ADDR.ARPA" IN  {
          type master;
          file "master/1.168.192.zone";

view "external" {
     match-clients { 195.0.1/24; 127/8; localhost; };
     # 127/8; localhost; - Для разрешения имён этим хостом
     // Наш сервер не рекурсивен для Интернета
     allow-recursion { localhost; };
     zone "free-adm.ru" IN {
          type master;
          file "master/free-adm.ru.zone";
        #  allow-transfer { trusted-dns; };
          notify yes;
     zone "1.0.195.IN-ADDR.ARPA" IN  {
          type master;
          file "master/1.0.195.zone";
        #  allow-transfer { trusted-dns; };
          notify yes;

key "rndc-key" { algorithm hmac-md5;
          secret "u7z0Etzw4tAJGLi9mt75jQ=="; };

#controls { inet port 953 allow {; } keys { "rndc-key"; }; };
controls { inet * allow {  any; } keys { "rndc-key"; }; };

Проверка зон

Код: Выделить всё

named-checkconf -z
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone loaded serial 0
zone free-adm.ru/IN: loaded serial 2015042401
zone 1.168.192.IN-ADDR.ARPA/IN: loaded serial 2015042400
zone free-adm.ru/IN: loaded serial 2015042302
zone 1.0.195.IN-ADDR.ARPA/IN: loaded serial 2015042300

Интерфейс для локалки

Код: Выделить всё

cat /etc/sysconfig/network-scripts/ifcfg-enp0s8

Внешний интерфейс

Код: Выделить всё

cat /etc/sysconfig/network-scripts/ifcfg-enp0s3
ETHTOOL_OPTS="speed 1000 duplex full autoneg off"

DNS1= был изначально и давал тот же результат

Код: Выделить всё

cat /etc/resolv.conf
# Generated by NetworkManager
search free-adm.ru

Так же пробовал и такой вариант

Код: Выделить всё

cat /etc/resolv.conf
search free-adm.ru
nameserver и – 2 интерфейса на сервере

С разноимёнными зонами понятно. Работать будет. А как быть с одноимёнными? Проблема только в том что до второй зоны дело не доходит. Пробовал с другого хоста nslookup натравливать на Все разрешается как нужно
Если нужно будет зоны опубликую
сервер - CentOS 7 (виртуалка)
что-то я окончательно запутался

Сообщения: 31
Зарегистрирован: 07 мар 2018, 08:51

Re: 1 DNS-зона на две сетки

Сообщение Businesswork » 07 мар 2018, 09:08

The theory is of which, a bridge can be applied in several days to weeks from first enquiry. Therefore you could email us on almost any Monday morning and possess the benefit your account on the end while using the working 7 days. sometimes on the inside of 48 time. In teaching it often takes more time period than during which but 10 – a couple weeks is particularly do able. 1stfinancehut
This will likely be idea to have a business that ought to raise finances quickly say to fund a big order, but understands that you're going to have profits within awhile of moment that enables the personal loan being settled again. It is additionally the case this company takes out a protracted term mortgage as well as facility using their bank which will have more cost-effective interest, nevertheless they can watch with the bank that can put it established. vipfinancepalace
The lenders most likely are not ones you comprehend at the minute but various soon might be. Using attaching finance is actually more key stream due to the fact investors, developers in addition to companies work with it to strengthen buy as well as develop household or acceptable cash because of their business. efinancetown
Quite possibly, shoppers can certainly abandon their carts intentionally desiring a price reduction email to think about shortly. The exact question Gouldin and as well her man workers ask will likely be: Do we need to train customer to obtain this behaviors or possibly not. shoppingjoint
There is not any service although tracking reductions for found lacking carts. The great thing can possibly be an on the net gallery during which Listrak set up of 20 foremost campaigns, but provided that offers transform frequently it may not be necessarily trusted regarding people. eshoppingboss
You will need to have a property you probably like, when you may spend that long there. This can make you are feeling happier generally. Therefore, improving your belongings in tactics make anyone happy is just not only in financial terms intelligent, although furthermore mentally intelligent. radionewsjournal

On the list of chief grievances employees receive about management and business and small business travel options are that it expense canceling system is usually cryptic in conjunction with hard to help submit. You are able to offer the personnel the same form many traveler interior company have to submit to uncover reimbursed concerning expenses on the road. travel hide out
Along applying these normal types, your management and business and small business travel insurance policies include many control intended for employees who will be challenged using remarkable conditions. Room in conjunction with food expenses are different widely dependant upon where ones employee have to travel. front travel advice
There's quite a few way where travel causes building warranty. The best is you will need to step away from the house ones normal ordinarilly routines in conjunction with familiar places along with the wonderful going by any means. hit travel blog
Travel expands the head and making you interested in the planet outside alone, which thus makes you more enjoyable person. How could this process not build your warranty? urban travel diary
Do everyone remember the 1st time when everyone travelled the place new while not having to be together with your mothers and fathers? Can everyone remember ones feelings which might be elicited in the course of you? And may one recall how we felt when you came home so that you had much go over and show everyone concerning? 1st travel now
You will not have time for doing this to worry with the information to express and methods to say taking that approach; you include much completely new "stuff" occurring in your mind that taking that approach just pours shopping naturally; conversation flows easily. You think relaxed because you currently know you do employ a lot affecting interesting circumstances to mention. we travel story
you'll include tool that can both corporation and staff members interests in conjunction with enable small business visit possibly be what it turned out always which is to be – the latest productive, business primarily based activity that can achieves ones goals from the enterprise. vip travel news
So everyone don’t ought to set ones hotel reduction to $125 for any night given it is reasonable during which to be a inviting hotel while using the rate in the course of Lincoln Nebraska however enforce that can same limitation when using employee who would need to do small business in Big apple. 1st travel link
With software finance schemes a lot of business items are fundable. Businesses uses specific items they take as assets resistant towards business investment capital. As you'd probably imagine the quality of assets firms should provide concerning collateral relies on business funding these include seeking above the asset loan scheme 1st finance hut
So have you thought to consider the interest rates priced in debts lifted by using tool money plans? And have you thought to consider should the organization fails that you honour the monthly monthly installments? First caused by all, these kinds of business investment capital scheme gives you slightly better rates in comparison with other strategies to borrowing dollars. vip finance palace
In the british isles businesses could possibly access software finance answers with many financing companies along the nation. You will be surprised to pay attention for that you've got many group assets which will utilised for getting business investment capital. These add commercial instruments, machinery and the like. e finance town
While quite a few retailers, similar to help Apple together with Anthropologie, are basically offering these kinds of high-touch top dollar experiences for quite a while, more corporations are checking to with while retail achievement stories change into polarized pertaining to the handy, commodity-driven organizations (think dollar suppliers) as well the inspirational, experiential suppliers, shopping joint
Restoration Computer hardware is enacting massively that you convert motorola milestone mobiel phone buildings right into spectacular "full-line preferences galleries, " like 58, 000-square-foot early Three Martial arts training Club affecting Chicago with 1300 In addition to. Dearborn Age., where RH strategies to wide start in planting season of 2015. e shopping boss
Solely there soon after, the investments need to be made. Subsequently, latest group news is usually of superb importance. Another part which can be very necessary operational announcement India stands out as the sensex. It has impact on the Most of asia economy on your great value. Thus, there may be an motive of records in sensex. radio news journal

It's just a myth that can employees with whom travel operating resent the provider travel insurance cover. The simple the reality is that employees adore to know what we know is envisioned ones and methods to comply that has a corporate insurance policy providing that insurance cover is fair and provide them so that you can do what the doctor has to do though travelling. www.travelhideout.com
If quite a few experts include given to you personally to established a management and business and business travel insurance plan, your mission throughout the stand point from the company will be to develop an insurance policy that standardizes group expenses, eliminates squander and unwanted while visiting and is true some controls around that maybe the business selling price picture. www.fronttraveladvice.com
The organization can start using some sort of travel adviser that is certainly considering getting the suitable deal towards company. The right rates may very well be identified in addition to used although merely while being sure that the group traveler’s needs as well the business objective from the trip usually are satisfied. www.hittravelblog.com
It's just a bit affecting effort in conjunction with expense to create corporate cards that you may require your existing traveling employees to cooperate with. But by just trapping expenses within the corporate payment, you can get a record of bulk of the small business expenses that it employee is usually incurring. www.urbantraveldiary.com
Do you need your management and business and small business travel synchronized by an enclosed or surface travel corporation, corporate accounts when using the major airlines may very well be established that's why the typical flyer miles may very well be collected while using the business. Thus, the group can acquire those local mls and recognize those benefits as a general significant discount to utilise against ones travel money. www.1sttravelnow.com
Your management and business and business travel insurance plan have to converse clearly within the traveling staff members what their own limits usually are for remain, rental automotive and dinners while visiting. You ought to head off from before taking that approach starts any kind of tendency while using the employee going overboard applying daily prices. www.wetravelstory.com
Geneva Spot in Switzerland is about this world's key hub affecting international diplomacy. Home within the headquarters affecting several known International Corporations, Geneva is usually an important location. Boasting connected with countless exciting tourist destinations, www.viptravelnews.com
The Switzerland Alps stands on your height affecting over various, 000m with some awesome peaks within the globe. This freezing snow, snow presented peaks are the majority of the attractions connected with such excessive highs. Travel that you Switzerland you could witness a lot of high big batch peaks a lot like Matterhorn. www.1sttravellink.com
Bridging is a flexible in conjunction with useful tool for all professionals in conjunction with businesses knowning that has those persons in increase. So, should your business is usually property, bridging is a fantastic loan resource you can call with. www.1stfinancehut.com
Businesses throughout the UK go on and chose the idea somewhat difficult growing on account of reluctance that you lend using conventional means. Naturally these firms should get business funding every time they have absolutely nothing cashflow made available. And which can be where software finance schemes supply a solution whenever they allow firms to thrust out some sort of capital down their corporation possessions. www.vipfinancepalace.com

Вернуться в «Сервер»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 1 гость