summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2019-08-09 15:02:50 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2019-08-09 15:30:37 +0900
commit450de6500c83e0229abe942fbd1a01b0d9af1553 (patch)
treecea5aa722c324e82355b70546d4c23292c8ea3eb
parent452e843953638e1d4e85a9a190f272e1cb02a5bc (diff)
downloadbind-450de6500c83e0229abe942fbd1a01b0d9af1553.tar.gz
bind-450de6500c83e0229abe942fbd1a01b0d9af1553.tar.bz2
bind-450de6500c83e0229abe942fbd1a01b0d9af1553.zip
Fix build error
Change-Id: I198316a501b7223c8b6f0325c8cedb391a506c0a
-rw-r--r--bind.manifest5
-rw-r--r--config/named.conf60
-rw-r--r--config/pz/127.0.09
-rw-r--r--config/root.hints92
-rw-r--r--packaging/bind.spec7
5 files changed, 171 insertions, 2 deletions
diff --git a/bind.manifest b/bind.manifest
new file mode 100644
index 00000000..97e8c313
--- /dev/null
+++ b/bind.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/config/named.conf b/config/named.conf
new file mode 100644
index 00000000..5f32e25f
--- /dev/null
+++ b/config/named.conf
@@ -0,0 +1,60 @@
+include "/etc/named.conf.rndc";
+
+options {
+ directory "/etc/namedb";
+ pid-file "/var/run/named.pid";
+ statistics-file "/var/run/named.stats";
+ listen-on { any; };
+ listen-on-v6 { any; };
+ dns64 2001:db8:1:ffff::/96 {
+ clients { any; };
+ exclude { any; };
+ };
+ allow-recursion { any; };
+ allow-recursion-on { any; };
+};
+zone "." {
+ type hint;
+ file "root.hints";
+};
+zone "0.0.127.in-addr.arpa" {
+ type master;
+ file "pz/127.0.0";
+};
+
+// Bind 9 now logs by default through syslog (except debug).
+// These are the default logging rules.
+
+logging {
+ category default { default_syslog; default_debug; };
+ category unmatched { null; };
+
+ channel default_syslog {
+ syslog daemon; // send to syslog's daemon
+ // facility
+ severity info; // only send priority info
+ // and higher
+ };
+
+ channel default_debug {
+ file "named.run"; // write to named.run in
+ // the working directory
+ // Note: stderr is used instead
+ // of "named.run"
+ // if the server is started
+ // with the '-f' option.
+ severity dynamic; // log at the server's
+ // current debug level
+ };
+
+ channel default_stderr {
+ stderr; // writes to stderr
+ severity info; // only send priority info
+ // and higher
+ };
+
+ channel null {
+ null; // toss anything sent to
+ // this channel
+ };
+};
diff --git a/config/pz/127.0.0 b/config/pz/127.0.0
new file mode 100644
index 00000000..464d086c
--- /dev/null
+++ b/config/pz/127.0.0
@@ -0,0 +1,9 @@
+$TTL 3D
+@ IN SOA ns.local.domain. hostmaster.local.domain. (
+ 1 ; Serial
+ 8H ; Refresh
+ 2H ; Retry
+ 4W ; Expire
+ 1D) ; Minimum TTL
+ NS ns.local.domain.
+1 PTR localhost.
diff --git a/config/root.hints b/config/root.hints
new file mode 100644
index 00000000..f5921c19
--- /dev/null
+++ b/config/root.hints
@@ -0,0 +1,92 @@
+; This file holds the information on root name servers needed to
+; initialize cache of Internet domain name servers
+; (e.g. reference this file in the "cache . <file>"
+; configuration file of BIND domain name servers).
+;
+; This file is made available by InterNIC
+; under anonymous FTP as
+; file /domain/named.cache
+; on server FTP.INTERNIC.NET
+; -OR- RS.INTERNIC.NET
+;
+; last update: October 20, 2016
+; related version of root zone: 2016102001
+;
+; formerly NS.INTERNIC.NET
+;
+. 3600000 NS A.ROOT-SERVERS.NET.
+A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
+A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:ba3e::2:30
+;
+; FORMERLY NS1.ISI.EDU
+;
+. 3600000 NS B.ROOT-SERVERS.NET.
+B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
+B.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:84::b
+;
+; FORMERLY C.PSI.NET
+;
+. 3600000 NS C.ROOT-SERVERS.NET.
+C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
+C.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2::c
+;
+; FORMERLY TERP.UMD.EDU
+;
+. 3600000 NS D.ROOT-SERVERS.NET.
+D.ROOT-SERVERS.NET. 3600000 A 199.7.91.13
+D.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2d::d
+;
+; FORMERLY NS.NASA.GOV
+;
+. 3600000 NS E.ROOT-SERVERS.NET.
+E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
+E.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:a8::e
+;
+; FORMERLY NS.ISC.ORG
+;
+. 3600000 NS F.ROOT-SERVERS.NET.
+F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
+F.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2f::f
+;
+; FORMERLY NS.NIC.DDN.MIL
+;
+. 3600000 NS G.ROOT-SERVERS.NET.
+G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
+G.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:12::d0d
+;
+; FORMERLY AOS.ARL.ARMY.MIL
+;
+. 3600000 NS H.ROOT-SERVERS.NET.
+H.ROOT-SERVERS.NET. 3600000 A 198.97.190.53
+H.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:1::53
+;
+; FORMERLY NIC.NORDU.NET
+;
+. 3600000 NS I.ROOT-SERVERS.NET.
+I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
+I.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fe::53
+;
+; OPERATED BY VERISIGN, INC.
+;
+. 3600000 NS J.ROOT-SERVERS.NET.
+J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
+J.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:c27::2:30
+;
+; OPERATED BY RIPE NCC
+;
+. 3600000 NS K.ROOT-SERVERS.NET.
+K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
+K.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fd::1
+;
+; OPERATED BY ICANN
+;
+. 3600000 NS L.ROOT-SERVERS.NET.
+L.ROOT-SERVERS.NET. 3600000 A 199.7.83.42
+L.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:9f::42
+;
+; OPERATED BY WIDE
+;
+. 3600000 NS M.ROOT-SERVERS.NET.
+M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
+M.ROOT-SERVERS.NET. 3600000 AAAA 2001:dc3::35
+; End of file
diff --git a/packaging/bind.spec b/packaging/bind.spec
index 7d12fd94..5c45b613 100644
--- a/packaging/bind.spec
+++ b/packaging/bind.spec
@@ -47,7 +47,9 @@ Embedded DHCPv6/RA Server & Relay (devel)
--with-libtool \
--disable-static \
--enable-ipv6 \
- --with-randomdev=/dev/urandom
+ --with-randomdev=/dev/urandom \
+ --without-python \
+ --disable-linux-caps
make -j1
@@ -89,6 +91,7 @@ chown -R network_fw:network_fw %{install_path}
%exclude %{_bindir}/isc-config.sh
%{_sbindir}/*
%{_libdir}/*.so.*
+%{_libdir}/named/*.so
%{_sysconfdir}/bind.keys
%attr(770,network_fw,network_fw) %{install_path}/etc/named.conf
%attr(770,network_fw,network_fw) %{install_path}/etc/namedb/root.hints
@@ -103,7 +106,7 @@ chown -R network_fw:network_fw %{install_path}
%{_includedir}/isc
%{_includedir}/isccc
%{_includedir}/isccfg
-%{_includedir}/lwres
+%{_includedir}/ns
%{_includedir}/pk11
%{_includedir}/pkcs11
%{_libdir}/*.so