Solved using a footer in genzone_client
Added
footer = /etc/fred/genzone.footer
to genzone.conf and added
_nicname._tcp.fo. IN SRV 0 0 43 whois.nic.fo.
to genzone.footer
Then "genzone_client fo" included the SRV at next update,
and everything worked fine. :-)
vh ...torkil...
On frÃ, 2011-06-10 at 21:11 +0100, Petur Kirke wrote:
--------------------------------------------------
From: "Mario Guerra" <mguerra(a)nic.cr>
Sent: Friday, June 10, 2011 5:03 PM
To: <fred-users(a)lists.nic.cz>
Subject: Re: SRV record
> On Fri, 10 Jun 2011 13:31:16 +0100
> "Petur Kirke" <peturkirke(a)hotmail.com> wrote:
>
>> We want to put a SRV record into our zone, something like this:
>>
>> _nicname._tcp.fo 86400 IN SRV 0 5 43 whois.nic.fo.
>>
>> How can this be done in Fred ?
>>
>
> I wouldn't use FRED for that. Rather, I would use shell statements or
> similar after running genzone_client. Like:
>
> genzone_client fo
> cat >> db.fo << EOF
> _nicname._tcp.fo 86400 IN SRV 0 5 43 whois.nic.fo.
> EOF
>
named should be reloaded after this.
An alternative is to use the footer feature in genzone_client. See
above.