Thanks John,

I kind of expected it to be a regular expression bug. For now I have
changed the domain to something unique, will test again when the new
version comes out.

Cheers,
Ashley

On Wed, 2010-01-06 at 07:30 +1000, John Eckersberg wrote:
> At Tue, 05 Jan 2010 08:14:39 -0500,
> John Eckersberg wrote:
> > 
> > At Tue, 5 Jan 2010 09:07:03 +1000,
> > Ashley Wright wrote:
> > > 
> > > Hi,
> > > 
> > > I am having an interesting problem with having cobbler manage DNS. I
> > > have my dns zone set to 'leo' (this is for a private subnet), and a
> > > hostname of 'leo-b' so the FQDN should be 'leo-b.leo', however when
> > > cobbler generates the forward lookup files for named, it only puts the
> > > hostname as '-b'. Also if I put the dnsname as 'myleo-b.leo' the
> > > hostname becomes 'my-b' (ie it removes the leo part).
> > > 
> > > Any ideas?
> > > I have included some snippets below.
> > > /etc/cobbler/settings (part):
> > > manage_forward_zones: 
> > >  - 'leo'
> > > manage_reverse_zones: 
> > >  - '192.168.0'
> > > 
> > > /var/named/leo (tail):
> > > c     IN  A  192.168.0.3
> > > d     IN  A  192.168.0.4
> > > e     IN  A  192.168.0.5
> > > my-b  IN  A  192.168.0.2
> > > 
> > > /var/named/192.168.0  (tail):
> > > 2  IN  PTR  myleo-b.leo.
> > > 3  IN  PTR  leoc.leo.
> > > 4  IN  PTR  leod.leo.
> > > 5  IN  PTR  leoe.leo.
> > > 
> > > 
> > > Thanks,
> > > Ashley
> > > 
> > > -- 
> > > Ashley Wright
> > > HPC and Research Support Group
> > > Queensland University of Technology (QUT)
> > > 
> > > 
> > > _______________________________________________
> > > cobbler mailing list
> > > [email protected]
> > > https://fedorahosted.org/mailman/listinfo/cobbler
> > 
> > This is definitely a bug.  I will have a look at it, it should be a
> > relatively easy fix.
> > 
> > Thanks for bringing this to my attention!
> > _______________________________________________
> > cobbler mailing list
> > [email protected]
> > https://fedorahosted.org/mailman/listinfo/cobbler
> 
> This is fixed and pushed:
> 
> http://git.fedorahosted.org/git/cobbler?p=cobbler;a=blobdiff;f=cobbler/modules/manage_bind.py;h=48c6b71afd25a74ab9ff8d0e21c509f119cbf1d9;hp=6a9f00da744e03acafb4e6b625359868338840a9;hb=e506a327247b0d383ffc06657256e148c028f060;hpb=53dec0ec8e4a18d73b2254eee33e94182f44e721
> 
> It will be included in the next release, or you can build new packages
> from source.
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
-- 
Ashley Wright
HPC and Research Support Group
Queensland University of Technology (QUT)

Ph:     (07) 3138 1813
Mobile: (04) 0531 3124 
QUT:    #66866
Email:  [email protected]
Postal: 
        HPC and Research Support Group,
        Block V, Level 7, Room V718,
        Gardens Point Campus,
        Queensland University of Technology,
        GPO Box 2434,
        Brisbane Qld 4001
Google Calendar: http://c.ashes.name/

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to