[Bug 758766] New: DNS-Server-Module CNAME on whole Zone broken
https://bugzilla.novell.com/show_bug.cgi?id=758766 https://bugzilla.novell.com/show_bug.cgi?id=758766#c0 Summary: DNS-Server-Module CNAME on whole Zone broken Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: SLES 11 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gjn@gjn.priv.at QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 I have a webserver defined in the zonen file www.example.com www IN A xxx.xxx.xxx.xxxx and like to have a resolution to example.com example.com. IN CNAME www then I have in the zone file (example.com. is translated to) IN CNAME wwww but this is not working with bind I must have a @ IN CNAME www or example.com. IN CNAME www without this, bind don't load the zone file, but Yast2-dns-server module give no error, I have to check the LOG files to find out the mistake. Lucas Ocilka: // ;) For the another issue, I think you should rather file another bugreport. I've even tried this: www IN A 1.1.1.100 webserver IN CNAME www and webserver doesn't return anything. CNAME is ignored if CNAME is filed for the whole domain this way: --- /var/lib/named/master/example.org --- $TTL 172800 @ IN SOA dhcp70.suse.cz. root.dhcp70.suse.cz. ( 2012042313 10800 3600 604800 86400) IN NS ns2.example.org. IN NS ns1.example.org. IN MX 0 mx1.example.org. IN MX 0 mx2.example.org. IN CNAME www ns IN A 1.1.1.102 mx1 IN A 1.1.1.103 mx2 IN A 1.1.1.104 www IN A 1.1.1.100 webserver IN CNAME www --- /var/lib/named/master/example.org --- BTW, NS and MX records work for the domain well. So the buggy one seems to be just CNAME. It also works with TXT entries for the whole domain. When you file a new bug, please, attach relevant part of /var/log/messages My says: dns_master_load: master/example.org:13: example.org: CNAME and other data zone example.org/IN: loading from master file master/example.org failed: CNAME and other data zone example.org/IN: not loaded due to errors. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=758766
https://bugzilla.novell.com/show_bug.cgi?id=758766#c1
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=758766
https://bugzilla.novell.com/show_bug.cgi?id=758766#c2
--- Comment #2 from Günther J. Niederwimmer
https://bugzilla.novell.com/show_bug.cgi?id=758766
https://bugzilla.novell.com/show_bug.cgi?id=758766#c
Günther J. Niederwimmer
https://bugzilla.novell.com/show_bug.cgi?id=758766
https://bugzilla.novell.com/show_bug.cgi?id=758766#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=758766
https://bugzilla.novell.com/show_bug.cgi?id=758766#c
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=758766
https://bugzilla.novell.com/show_bug.cgi?id=758766#c
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=758766
https://bugzilla.novell.com/show_bug.cgi?id=758766#c3
--- Comment #3 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=758766
https://bugzilla.novell.com/show_bug.cgi?id=758766#c4
--- Comment #4 from Günther J. Niederwimmer
https://bugzilla.novell.com/show_bug.cgi?id=758766
https://bugzilla.novell.com/show_bug.cgi?id=758766#c5
--- Comment #5 from Lukas Ocilka
NO, exampla.org. is not working, it is automatic translated to "@" and this was not written to ldap, or in the zone file.
@ means the same as $zone_name. and it's not written into the file because if a key is missing, the last-defined key is used. This works for NS, MX and TXT records in that file and should IMO also work for CNAME.
the "*" i have not tested. Can bind this "*" read (?).
Well, it should work, you need to test it yourself. See, for instance, this example http://serverfault.com/questions/156078/how-to-do-multiple-wildcard-subdomai... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com