Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
020-wireless
020_dns
Commits
885d2dd1
Commit
885d2dd1
authored
Apr 19, 2018
by
y
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added forward to bprouter for lag tld
updated some hostnames in make.sh and copy.sh
parent
0737ed36
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
11 deletions
+17
-11
dns/copy.sh
dns/copy.sh
+4
-10
dns/hostfiles/forwardzones.conf
dns/hostfiles/forwardzones.conf
+12
-0
dns/make.sh
dns/make.sh
+1
-1
No files found.
dns/copy.sh
View file @
885d2dd1
...
...
@@ -2,7 +2,7 @@
.
paths.sh
HOSTS
=
"
stanleyH kalium wgrouter
"
HOSTS
=
"
bprouter kalium
"
cz
()
{
...
...
@@ -58,14 +58,8 @@ done
#
#echo "reload trashbat: "
#ssh root@trashbat /etc/init.d/bind9 reload
echo
"reload stanleyH: "
ssh root@stanleyH /etc/init.d/named reload
#echo "reload air traffic control: "
#ssh root@atc /etc/init.d/bind9 reload
echo
"reload kalium"
ssh root@kalium /etc/init.d/bind9 reload
ssh root@kalium host test.020
for
host
in
$HOSTS
;
do
ssh root@
$host
/etc/init.d/bind9 restart
done
ssh root@wgrouter /etc/init.d/bind9 reload
dns/hostfiles/forwardzones.conf
View file @
885d2dd1
...
...
@@ -15,5 +15,17 @@
# forwarders { 10.205.253.1; };
#};
zone
"lag"
{
type
forward
;
forward
only
;
forwarders
{
10
.
205
.
253
.
14
; };
};
#zone "30.205.10.IN-ADDR.ARPA" in {
# type forward;
# forward only;
# forwarders { 10.205.25.25; };
#};
include
"/etc/bind/zones/adm.conf"
;
dns/make.sh
View file @
885d2dd1
...
...
@@ -2,7 +2,7 @@
#set -e
.
paths.sh
HOSTS
=
"
stanleyH
kalium"
HOSTS
=
"
bprouter
kalium"
cz
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment