[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 <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |kkzhang@suse.com InfoProvider| |gjn@gjn.priv.at --- Comment #1 from kk zhang <kkzhang@suse.com> 2012-04-26 02:20:33 UTC --- Thank you for your report.Could you please help to provide y2logs according to the following URL?Thank you. http://en.opensuse.org/openSUSE:Bugreport_YaST.;) -- 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#c2 --- Comment #2 from Günther J. Niederwimmer <gjn@gjn.priv.at> 2012-04-27 09:47:27 UTC --- Created an attachment (id=488511) --> (http://bugzilla.novell.com/attachment.cgi?id=488511) The YaST2 log -- 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#c Günther J. Niederwimmer <gjn@gjn.priv.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|gjn@gjn.priv.at | -- 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#c kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- 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#c Jiří Suchomel <jsuchome@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |locilka@suse.com -- 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#c Lukas Ocilka <locilka@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |locilka@suse.com AssignedTo|locilka@suse.com |ug@suse.com -- 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#c3 --- Comment #3 from Lukas Ocilka <locilka@suse.com> 2012-05-02 10:56:46 UTC --- As a workaround, this might work (untested): * IN CNAME www (use "*" instead of "@" or "example.org." when entering the record) -- 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#c4 --- Comment #4 from Günther J. Niederwimmer <gjn@gjn.priv.at> 2012-05-02 11:27:25 UTC --- Hello, NO, exampla.org. is not working, it is automatic translated to "@" and this was not written to ldap, or in the zone file. the "*" i have not tested. Can bind this "*" read (?). -- 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#c5 --- Comment #5 from Lukas Ocilka <locilka@suse.com> 2012-05-02 12:15:40 UTC --- (In reply to comment #4)
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