Revision [4121]
Last edited on 2011-09-06 23:21:21 by KenFongAdditions:
[[DNSnsupdate nsupdate]]
-----
-----
Revision [3531]
Edited on 2009-09-30 07:53:35 by WikiAdminAdditions:
It's easy.
ptr-record=254.13.168.192.in-addr.arpa,"gw.comme.ca"
ptr-record=80.13.168.192.in-addr.arpa,"mynas.comme.ca"
ptr-record=254.13.168.192.in-addr.arpa,"gw.comme.ca"
ptr-record=80.13.168.192.in-addr.arpa,"mynas.comme.ca"
Deletions:
Revision [3530]
Edited on 2009-09-30 07:49:59 by WikiAdminAdditions:
===dnsmasq===
It's easy. The only problem is it doesn't seem to support PTR.
%%
bogus-priv
no-poll
address=/gw.comme.ca/192.168.13.254
address=/mynas.comme.ca/192.168.13.80
server=210.0.128.242@eth0
server=210.0.255.216@eth0
all-servers
no-resolv
interface=lo
interface=eth0
domain=comme.ca,192.168.13.0/24
cache-size=256
%%
It's easy. The only problem is it doesn't seem to support PTR.
%%
bogus-priv
no-poll
address=/gw.comme.ca/192.168.13.254
address=/mynas.comme.ca/192.168.13.80
server=210.0.128.242@eth0
server=210.0.255.216@eth0
all-servers
no-resolv
interface=lo
interface=eth0
domain=comme.ca,192.168.13.0/24
cache-size=256
%%
Revision [1721]
Edited on 2008-05-15 02:49:14 by WikiAdminAdditions:
Did you know - a domain name consists of a hostname, a domain name, and a top-level-domain (AKA TLD). For instance, in www.example.com, **www** is the hostname, **example** is the domain name, and **com** is the tld. **www.example.com** is known as the fully-qualified-domain-name (FQDN)
Revision [1680]
Edited on 2008-04-19 08:05:38 by WikiAdminAdditions:
[[DNSdjbdns djbdns]]
Revision [1451]
Edited on 2008-03-04 06:52:55 by WikiAdminAdditions:
{{parent page="Network"}}
===[[DNS DNS]]===
===[[DNS DNS]]===
Deletions:
==[[DNS DNS]]==
Revision [1448]
Edited on 2008-03-04 06:51:47 by WikiAdminAdditions:
{{parent page="Networking"}}
==[[DNS DNS]]==
[[DNSQueries DNS Queries]]
[[Bind910min Bind9 In 10 minutes]]
[[DNSZone DNS zone file]]
[[NetworkPowerDNS PowerDNS - a DNS server designed to work with a database backend]]
[[DNSSubdomainDelegate Delegating sub-domains]]
==[[DNS DNS]]==
[[DNSQueries DNS Queries]]
[[Bind910min Bind9 In 10 minutes]]
[[DNSZone DNS zone file]]
[[NetworkPowerDNS PowerDNS - a DNS server designed to work with a database backend]]
[[DNSSubdomainDelegate Delegating sub-domains]]
Deletions:
Revision [1444]
Edited on 2008-03-04 06:49:21 by WikiAdminDeletions:
===Querying remote DNS server version===
Does not work on all name servers.
%%(bash)
dig -t txt -c chaos VERSION.BIND @ns1.somedns.com
%%
Revision [1442]
Edited on 2008-03-04 06:48:14 by WikiAdminDeletions:
rndc-confgen -b 512 | grep -m 1 "secret" | cut -d '"' -f 2
== Creating a local domain ==
File path might be a little different on different platforms. The following is based on FreeBSD 6 and BIND 9.
Edit /etc/namedb/named.conf and at least include the followings:
// Bind9 configuration file
// Below are required for Win32 bind
key "rndc-key" {
algorithm hmac-md5;
secret "
Revision [1081]
Edited on 2007-10-22 06:23:24 by WikiAdminAdditions:
zone "comme.ca" IN {
type master;
file "comme.ca.zone";
allow-transfer { mynets;};
};
zone "13.168.192.in-addr.arpa" IN {
type master;
file "13.168.192.rev";
allow-transfer { mynets;};
};
view "untrusted" {
match-clients {"any";};
recursion no;
Deletions:
// my domain is comme.ca
zone "comme.ca" {
file "master/comme.ca";
zone "13.168.192.in-addr.arpa" {
type master;
file "master/13.168.192.rev";
}
Revision [1033]
Edited on 2007-10-16 03:08:02 by WikiAdminAdditions:
recursion no;
view "trusted" {
// allow recursive queries to local networks only
match-clients { mynets; };
recursion yes;
view "trusted" {
// allow recursive queries to local networks only
match-clients { mynets; };
recursion yes;
Deletions:
Revision [827]
Edited on 2007-07-30 22:01:01 by WikiAdminAdditions:
{{parent page="GeneralUnix"}}
Deletions:
Revision [826]
Edited on 2007-07-30 22:00:42 by WikiAdminAdditions:
{{parent page="GeneraUnix"}}
Deletions:
Revision [825]
Edited on 2007-07-30 22:00:12 by WikiAdminAdditions:
{{parent page="UNIX"}}
==[[DNSSubdomainDelegate Delegating sub-domains]]==
==[[DNSSubdomainDelegate Delegating sub-domains]]==
Revision [806]
Edited on 2007-07-25 19:42:39 by WikiAdminAdditions:
// directory "/etc"; // on linux chroot environment
// recursion no; // this parameter controls whether named should resolve non local domains
// recursion no; // this parameter controls whether named should resolve non local domains
Deletions:
Revision [805]
Edited on 2007-07-25 19:38:09 by WikiAdminAdditions:
%%(text;0.0.127.rev)
$TTL 3D
@ IN SOA ns.comme.ca. hostmaster.comme.ca. (
1 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D) ; Minimum TTL
NS ns1.comme.ca.
1 PTR localhost.
$TTL 3D
@ IN SOA ns.comme.ca. hostmaster.comme.ca. (
1 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D) ; Minimum TTL
NS ns1.comme.ca.
1 PTR localhost.
Revision [804]
Edited on 2007-07-25 19:36:46 by WikiAdminAdditions:
// zone for caching
zone "." in {
type hint;
file "root.hints";
zone "0.0.127.in-addr.arpa" in {
file "0.0.127.rev";
%%(text;root.hints)
. 6D IN NS A.ROOT-SERVERS.NET.
. 6D IN NS B.ROOT-SERVERS.NET.
. 6D IN NS C.ROOT-SERVERS.NET.
. 6D IN NS D.ROOT-SERVERS.NET.
. 6D IN NS E.ROOT-SERVERS.NET.
. 6D IN NS F.ROOT-SERVERS.NET.
. 6D IN NS G.ROOT-SERVERS.NET.
. 6D IN NS H.ROOT-SERVERS.NET.
. 6D IN NS I.ROOT-SERVERS.NET.
. 6D IN NS J.ROOT-SERVERS.NET.
. 6D IN NS K.ROOT-SERVERS.NET.
. 6D IN NS L.ROOT-SERVERS.NET.
. 6D IN NS M.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 6D IN A 198.41.0.4
B.ROOT-SERVERS.NET. 6D IN A 192.228.79.201
C.ROOT-SERVERS.NET. 6D IN A 192.33.4.12
D.ROOT-SERVERS.NET. 6D IN A 128.8.10.90
E.ROOT-SERVERS.NET. 6D IN A 192.203.230.10
F.ROOT-SERVERS.NET. 6D IN A 192.5.5.241
G.ROOT-SERVERS.NET. 6D IN A 192.112.36.4
H.ROOT-SERVERS.NET. 6D IN A 128.63.2.53
I.ROOT-SERVERS.NET. 6D IN A 192.36.148.17
J.ROOT-SERVERS.NET. 6D IN A 192.58.128.30
K.ROOT-SERVERS.NET. 6D IN A 193.0.14.129
L.ROOT-SERVERS.NET. 6D IN A 198.32.64.12
M.ROOT-SERVERS.NET. 6D IN A 202.12.27.33
zone "." in {
type hint;
file "root.hints";
zone "0.0.127.in-addr.arpa" in {
file "0.0.127.rev";
%%(text;root.hints)
. 6D IN NS A.ROOT-SERVERS.NET.
. 6D IN NS B.ROOT-SERVERS.NET.
. 6D IN NS C.ROOT-SERVERS.NET.
. 6D IN NS D.ROOT-SERVERS.NET.
. 6D IN NS E.ROOT-SERVERS.NET.
. 6D IN NS F.ROOT-SERVERS.NET.
. 6D IN NS G.ROOT-SERVERS.NET.
. 6D IN NS H.ROOT-SERVERS.NET.
. 6D IN NS I.ROOT-SERVERS.NET.
. 6D IN NS J.ROOT-SERVERS.NET.
. 6D IN NS K.ROOT-SERVERS.NET.
. 6D IN NS L.ROOT-SERVERS.NET.
. 6D IN NS M.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 6D IN A 198.41.0.4
B.ROOT-SERVERS.NET. 6D IN A 192.228.79.201
C.ROOT-SERVERS.NET. 6D IN A 192.33.4.12
D.ROOT-SERVERS.NET. 6D IN A 128.8.10.90
E.ROOT-SERVERS.NET. 6D IN A 192.203.230.10
F.ROOT-SERVERS.NET. 6D IN A 192.5.5.241
G.ROOT-SERVERS.NET. 6D IN A 192.112.36.4
H.ROOT-SERVERS.NET. 6D IN A 128.63.2.53
I.ROOT-SERVERS.NET. 6D IN A 192.36.148.17
J.ROOT-SERVERS.NET. 6D IN A 192.58.128.30
K.ROOT-SERVERS.NET. 6D IN A 193.0.14.129
L.ROOT-SERVERS.NET. 6D IN A 198.32.64.12
M.ROOT-SERVERS.NET. 6D IN A 202.12.27.33
Revision [803]
Edited on 2007-07-25 19:34:34 by WikiAdminAdditions:
==Generate a rndc key==
rndc-confgen -b 512 | grep -m 1 "secret" | cut -d '"' -f 2
== Creating a local domain ==
secret "";
==Create rndc.key for controlling named==
key "rndckey" {
algorithm hmac-md5;
secret "";
== Create forward & reversed zone==
My example is /etc/namedb/master/comme.ca.zone
rndc-confgen -b 512 | grep -m 1 "secret" | cut -d '"' -f 2
== Creating a local domain ==
secret "
==Create rndc.key for controlling named==
key "rndckey" {
algorithm hmac-md5;
secret "
== Create forward & reversed zone==
My example is /etc/namedb/master/comme.ca.zone
Deletions:
secret "tBKBJ1TudayHyBpX0KJizQ==";
Then create the zone file specified above. My example is /etc/namedb/master/comme.ca.zone
Revision [449]
Edited on 2007-05-03 07:29:07 by WikiAdminAdditions:
%%(text;13.168.192.rev)
$TTL 3600 ;
$ORIGIN 13.168.192.IN-ADDR.ARPA.
@ 1D IN SOA ns1.comme.ca. nsmaster.comme.ca. (
2007050301 ; serial
3H ; refresh
15 ; retry
1w ; expire
3h ; minimum
)
IN NS ns1.comme.ca.
; server host definitions
10 IN PTR ism.comme.ca.
20 IN PTR homme.comme.ca.
30 IN PTR vm.comme.ca.
254 IN PTR gw.comme.ca.
$TTL 3600 ;
$ORIGIN 13.168.192.IN-ADDR.ARPA.
@ 1D IN SOA ns1.comme.ca. nsmaster.comme.ca. (
2007050301 ; serial
3H ; refresh
15 ; retry
1w ; expire
3h ; minimum
)
IN NS ns1.comme.ca.
; server host definitions
10 IN PTR ism.comme.ca.
20 IN PTR homme.comme.ca.
30 IN PTR vm.comme.ca.
254 IN PTR gw.comme.ca.