14 lines
726 B
Plaintext
14 lines
726 B
Plaintext
# Корпоративные домены - forward на корп. DNS
|
|
# Загрузка: /tool fetch url="https://git.example.com/routes/raw/branch/main/domains-corp.rsc" dst-path=domains-corp.rsc
|
|
# Применение: /import file-name=domains-corp.rsc
|
|
|
|
# Очистка старых записей
|
|
/ip dns static remove [find where comment="CORP-DNS"]
|
|
|
|
# Корпоративные домены
|
|
/ip dns static
|
|
add name=biocad.loc type=FWD forward-to=10.247.192.8 comment="CORP-DNS"
|
|
add regexp=".*\\.biocad\\.loc" type=FWD forward-to=10.247.192.8 comment="CORP-DNS"
|
|
add name=biocad.dev type=FWD forward-to=10.247.192.8 comment="CORP-DNS"
|
|
add regexp=".*\\.biocad\\.dev" type=FWD forward-to=10.247.192.8 comment="CORP-DNS"
|