I have few problems with bind i have two servers. 212.60.11.1 -ns1.domain.com 212.60.11.2 -ns2.domain.com in named.conf on slave i put: Code: zone "domain.com" { type slave; file "/etc/bind/db.domain.com"; masters {192.168.2.1;}; }; and in master named.conf Code: zone "domain.com" in{ type master; file "/etc/bind/db.domain.com"; }; i put zones: Code: $TTL 14400 $ORIGIN domain.com. @ 86400 IN SOA domain.com. domain.com. ( 2006031501 86400 7200 3600000 86400 ) domain.com. 86400 IN NS ns1.domain.com. domain.com. 86400 IN NS ns2.domain.com. domain.com. 14400 IN A 212.60.11.2 localhost.domain.com. 14400 IN A 127.0.0.1 domain.com. 14400 IN MX 0 domain.com. mail 14400 IN CNAME ns1.domain.com. www 14400 IN CNAME ns2.domain.com. ftp 14400 IN A 212.60.11.1 ns1 14400 IN A 212.60.11.1 ns2 14400 IN A 212.60.11.2 when i use #dig @192.168.2.1 domain its look good. but when i use #dig @ns.domain.com domain no server could be reached???!! In domain registar i change dns servers and whois give me correct result what is a problem?
with DNS tools i get this Answer: No SOA records exist for ns1.domain.com. [Neg TTL=0 seconds] Details: ns2.domain.com. (an authoritative nameserver) says that there are no SOA records for ns1.domain.com. (ns1.domain.com. does exist, but has no SOA records).
Are your servers authoritative for domain.com? Can you give me the real domain name? Did you have a look here? http://www.howtoforge.com/traditional_dns_howto
i solve that problem. But i haev another mail server is on dns1 machine. and sadi there is no MX records for domain? but there is mail.domain.co. 14400 IN MX 10 mail.domain.com. mail 14400 IN A 212.22.33.1 is that ok
This allows you to accept mails for [email protected], for example. If you want to accept mails for domain.com, you should use Code: domain.com. 14400 IN MX 10 mail.domain.com.
mail.domain. 14400 IN MX 10 ns1.domain.com. is this correct because my ns1 is on mail server machine.