Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
19e75f06
Commit
19e75f06
authored
Dec 10, 2012
by
Leigh B Stoller
Browse files
Changes for geni racks; add also-notify config to named.conf.
parent
15eea316
Changes
5
Hide whitespace changes
Inline
Side-by-side
configure
View file @
19e75f06
...
...
@@ -799,6 +799,7 @@ DHCPD_DYNRANGE
DHCPD_EXTRAIFS
DHCPD_CONTROLNET_DECL
NAMED_FORWARDERS
NAMED_ALSONOTIFY
SSLCERT_COUNTRY
SSLCERT_STATE
SSLCERT_LOCALITY
...
...
configure.in
View file @
19e75f06
...
...
@@ -214,6 +214,7 @@ AC_SUBST(DHCPD_DYNRANGE)
AC_SUBST(DHCPD_EXTRAIFS)
AC_SUBST(DHCPD_CONTROLNET_DECL)
AC_SUBST(NAMED_FORWARDERS)
AC_SUBST(NAMED_ALSONOTIFY)
AC_SUBST(SSLCERT_COUNTRY)
AC_SUBST(SSLCERT_STATE)
AC_SUBST(SSLCERT_LOCALITY)
...
...
defs-elabinelab
View file @
19e75f06
...
...
@@ -88,6 +88,7 @@ PUBLIC_ROUTER=changeme
PUBLIC_NETMASK=changeme
DHCPD_DYNRANGE=changeme
NAMED_FORWARDERS=changeme
NAMED_ALSONOTIFY=changeme
#
# Must localize to avoid conflict with outer emulab frisbeed.
#
...
...
named/named.conf.template.in
View file @
19e75f06
...
...
@@ -16,6 +16,7 @@
options {
directory "/etc/namedb";
%forwarders%
%alsonotify%
};
view "internal" {
...
...
named/named_makeconf.in
View file @
19e75f06
...
...
@@ -60,6 +60,7 @@ my $PUBLIC_NETMASK = "@PUBLIC_NETMASK@";
my
$NAMED_FORWARDERS
=
"
@NAMED_FORWARDERS
@
";
my
$VIRTNODE_NETWORK
=
"
@VIRTNODE_NETWORK
@
";
my
$VIRTNODE_NETMASK
=
"
@VIRTNODE_NETMASK
@
";
my
$NAMED_ALSONOTIFY
=
"
@NAMED_ALSONOTIFY
@
";
# Testbed libraries.
use
lib
"
@prefix
@/lib
";
...
...
@@ -159,6 +160,18 @@ while (<IF>) {
print
$
1
.
"
};
\n
";
}
}
elsif
(
$
2
eq
"
alsonotify
")
{
if
(
$NAMED_ALSONOTIFY
eq
"")
{
print
"";
}
else
{
print
$
1
.
"
also-notify {
\n
";
foreach
my
$notify
(
split
("
",
$NAMED_ALSONOTIFY
))
{
print
$
1
.
$
1
.
"
$notify
;
\n
";
}
print
$
1
.
"
};
\n
";
}
}
elsif
(
$
2
eq
"
internal_network_reverse_zones
")
{
for
(
my
$i
=
$ic
;
$i
<=
$ic
+
(
255
-
$imc
);
$i
++
)
{
my
$dotted
=
"
${ia}
.
${ib}
.
${i}
";
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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