Hello All, Thought I'd answer my own question.
I think there might be a bug in how sipx-zoneadmin.sh is called.
I have a primary and secondary server both set up with the role
Proxy/registrar however the args for sipx-zoneadmin.sh are below.
sipdomain primaryserver/ip -o
secondaryserver/ip --zone --serial 5 --provide-dns
The problem is the -o on the secondary server, it doesn't output the SRV
records for that server just the a records.
It should be:
./sipx-zoneadmin.sh sipdomain primaryserver/ip
secondaryserver/ip --zone --serial 5 --provide-dns
This would output all the SRV records for both servers.
If you don't want sipxecs managing your DNS (such as when you add a two
gateways and want those gateways to have SRV records and be load balanced)
then in the script,
/usr/bin/sipx-zoneadmin.sh
comment out
#/usr/bin/sipx-dns $domname $Args > ${ZONE_PATH}/${domname}.zone
#chgowner=`/bin/chown named:named ${ZONE_PATH}/${domname}.zone`
Kyle
> Hi All,
>
> I set up two servers using 4.0.0-015321. I am running DNS on both with one
> of the secondary servers slaved to the primary. The problem is that when I
> added the second server through the web GUI the zone file on the primary
> server is updated with the A record of the secondary server, but NOT the
> SRV records of the secondary server. I have gone in and edited these
> manually on the primary server to add the SRV records for the secondary
> server.
>
> The problem is when I send either of the servers their profiles, the zone
> file on the primary server is overwritten and then no longer includes the
> SRV records of the secondary server.
>
> My question is where do I change the template that is used to write the
> zone file to add the secondary SRV records?
>
> Thanks!
>
> Kyle
>
> --
> Kyle Haefner
> Communications System Programmer
> Colorado State University
> Fort Collins, CO
> Phone: 970-491-1012
> Email: [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
