New user with MaraDNS

Anderson Alves de Albuquerque andersonaa at gmail.com
Wed Jul 28 21:00:06 EDT 2010


 I always use Bind. This month I am starting with maradns but I have
problem. In this e-mail, I describe one problem.

 The 10.0.0.0/8 and 172.16.16.0/24 are my internal network.


 I use maradns to mydomains (prefeitura.mydomain.br and
intranet.pu.mydomain.br)

 I want maradns to recursive dns and authorithative dns.


 My problem is that I have cname www.prefeitura.mydomain.br to another
doamin (b200.nce.otherdomain.br). When my squid transparent
search www.prefeitura.mydomain.br in maradns, the browser of the clients
receive error of the dns.


www.prefeitura.mydomain.br. +86400 cname b200.otherdomain.br. ~

# cat /etc/maradns/mararc
ipv4_bind_addresses = "10.0.0.3,127.0.0.1,172.16.16.3"
chroot_dir = "/etc/maradns"
csv2 = {}
csv2["prefeitura.mydomain.br."] = "prefeitura.mydomain.br.db"
csv2["pu.mydomain.br."] = "pu.mydomain.br.db"
csv2["intranet.pu.mydomain.br."] = "intranet.pu.mydomain.br.db"
recursive_acl = "127.0.0.1, 10.0.0.0/8,172.16.16.0/24"
no_fingerprint = 0
verbose_level = 3
timeout_seconds = 8
bind_star_handling = 1



# cat /etc/maradns/prefeitura.mydomain.br.db
prefeitura.mydomain.br. +86400 soa ns.prefeitura.mydomain.br.
noc at pu.mydomain.br. 2010032008 3600 900 604800 86400 ~
prefeitura.mydomain.br. +86400 ns ns.nce.mydomain.br. ~
prefeitura.mydomain.br. +86400 ns ns.mydomain.br. ~
prefeitura.mydomain.br. +86400 ns ns.prefeitura.mydomain.br. ~
prefeitura.mydomain.br. +86400 ns guanabara.rederio.br. ~
prefeitura.mydomain.br. +86400 a 192.164.25.6 ~
fpu.prefeitura.mydomain.br. +86400 a 192.164.25.6 ~
mail.prefeitura.mydomain.br. +86400 cname webmail.prefeitura.mydomain.br. ~
ns.prefeitura.mydomain.br. +86400 cname webmail.prefeitura.mydomain.br. ~
webmail.prefeitura.mydomain.br. +86400 a 192.164.25.4 ~
www.prefeitura.mydomain.br. +86400 cname b200.otherdomain.br. ~
# Second SOA received, exiting


 If I use nslookup command, I have this:
 # nslookup www.prefeitura.mydomain.br localhost
Server:         localhost
Address:        127.0.0.1#53

www.prefeitura.mydomain.br  canonical name = b200.otherdomain.br.



 What should I change in files of the configuration?



-- 
[], Anderson Alves de Albuquerque.
---------------------------------------------------------------
E-mails: andersonalvesdealbuquerque#hotmail.com (replace # by @)
andersonaa#gmail.com (replace # by @)
ICQ: 73222660
---------------------------------------------------------------



-- 
[], Anderson Alves de Albuquerque.
---------------------------------------------------------------
E-mails: andersonalvesdealbuquerque#hotmail.com (replace # by @)
andersonaa#gmail.com (replace # by @)
ICQ: 73222660
---------------------------------------------------------------


More information about the list mailing list