[Pdns-users] Pdns-users Digest, Vol 126, Issue 21
Mohamed Brahimi
mohamed.brahimi.ma at gmail.com
Fri Jul 26 08:40:33 UTC 2013
Hi again,
I've deleted the formatting (Hyper-links) to make the table more visible.
>
> If I understand your question correctly, you want to add a new subdomain
> to your domain "annoying.com"
>
> It's enough to add a new "A" record and not "NS" in your case, like bellow:
>
>
> | name | type | content
> |
> +-------------------+------+---------------------------------
> -------------------------------------+
>
> | annoying.com | SOA | ns0.ninefold.com hostmaster.annoying.com 7
> 10800 3600 604800 3600 |
> | annoying.com | NS | ns3.ninefold.com
> |
> | annoying.com | NS | ns4.ninefold.com
> | sub1.annoying.com | A | 10.10.10.10
> |
> | sub2.annoying.com | A | 10.10.10.11
> |
> +-------------------+------+---------------------------------
> -------------------------------------+
>
> For NS records, you don't have to put anything before "annoying.com" in
> "name" field, you should put the FQDN name of the NS server in the
> "content".
> That means, the NS record for "annoying.com" is the "ns3.annoying.com".
>
> I hope I could help a little bit :)
>
> Mohamed
>
>
>
> ---
>
> Mohamed Brahimi
> Infrastructure Engineer and Unix, Linux, Windows Administrator
> MVS (z Series), Unix/Linux, Windows
> E-mail: mohamed.brahimi.ma at gmail.com
>
>
> On Fri, Jul 26, 2013 at 1:03 AM, <pdns-users-request at mailman.powerdns.com>wrote:
>
>> Send Pdns-users mailing list submissions to
>> pdns-users at mailman.powerdns.com
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>> or, via email, send a message with subject or body 'help' to
>> pdns-users-request at mailman.powerdns.com
>>
>> You can reach the person managing the list at
>> pdns-users-owner at mailman.powerdns.com
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Pdns-users digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: What is a domain? (Marc Haber)
>> 2. Re: updated patch to improve SQL db AXFR performance
>> (ktm at rice.edu)
>> 3. Re: What is a domain? (Wolfgang Faust)
>> 4. Issue with subdoamin delegation and AFXR (Luca Salvatore)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 25 Jul 2013 12:06:46 +0200
>> From: Marc Haber <mh+pdns-users at zugschlus.de>
>> To: "pdns-users at mailman.powerdns.com"
>> <pdns-users at mailman.powerdns.com>
>> Subject: Re: [Pdns-users] What is a domain?
>> Message-ID: <20130725100646.GA17290 at torres.zugschlus.de>
>> Content-Type: text/plain; charset=utf-8
>>
>> On Thu, Jul 25, 2013 at 09:45:13AM +0200, Stefan Schmidt wrote:
>> > On Thu, Jul 25, 2013 at 8:08 AM, Marc Haber <mh+pdns-users at zugschlus.de
>> >wrote:
>> > > > If it matters, I'm going to be using native replication to minimize
>> > > > delays for updates. I've set up a MySQL cluster with a slave on the
>> > > > same system as the PowerDNS server.
>> > >
>> > > If you're talking native MySQL replication as opposed to native DNS
>> > > replication, your domain table have "master" in the type field for all
>> > > zones.
>> >
>> > Actually that would be 'NATIVE'.
>> > When you have 'MASTER' in the domains table PowerDNS will send notifies
>> to
>> > all NS records in the zone apex provided that master=yes in pdns.conf.
>> > Likewise you'd need slave=yes and 'SLAVE' in the domains table to enable
>> > slave mode in PowerDNS where it reacts to such notifies and tries to
>> AXFR
>> > the zone from the master IP.
>>
>> You're right, of course. Idiot me.
>>
>> Greetings
>> Marc
>>
>> --
>>
>> -----------------------------------------------------------------------------
>> Marc Haber | "I don't trust Computers. They | Mailadresse im
>> Header
>> Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621
>> 31958061
>> Nordisch by Nature | How to make an American Quilt | Fax: *49 621
>> 31958062
>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 25 Jul 2013 09:00:25 -0500
>> From: "ktm at rice.edu" <ktm at rice.edu>
>> To: pdns-users at mailman.powerdns.com
>> Subject: Re: [Pdns-users] updated patch to improve SQL db AXFR
>> performance
>> Message-ID: <20130725140025.GB3001 at aart.rice.edu>
>> Content-Type: text/plain; charset=us-ascii
>>
>> Argh! I forgot to include one patch in the posted patchset.
>> Here it is:
>>
>> -------------------------
>> --- pdns-3.3/pdns/dnsbackend.hh 2013-05-16 07:55:13.000000000 -0500
>> +++ pdns-3.3-FINALIZEAXFR/pdns/dnsbackend.hh 2013-07-11
>> 20:05:43.697847786 -0500
>> @@ -181,7 +181,7 @@
>> }
>>
>> //! commits the transaction started by startTransaction
>> - virtual bool commitTransaction()
>> + virtual bool commitTransaction(int id=-1)
>> {
>> return false;
>> }
>> -------------------------
>>
>> Regards,
>> Ken
>>
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Thu, 25 Jul 2013 10:05:41 -0400
>> From: Wolfgang Faust <wolfgangmcq at gmail.com>
>> To: Peter van Dijk <peter.van.dijk at netherlabs.nl>
>> Cc: pdns-users Users <pdns-users at mailman.powerdns.com>
>> Subject: Re: [Pdns-users] What is a domain?
>> Message-ID:
>> <CAJvjBNY66AYWLuvNMPbM8L4=
>> y2VtwbSMCo5ywHUXWzx9-7kZZA at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Thanks for all the replies. Now I have a couple more questions: * Is the
>> records.id field used for anything? My records table is actually going to
>> be a view onto a complex set of joins, unions, and cartesian joins, and
>> trying to give each of the resulting records a unique id would be a major
>> pain. * What are all the fields in the domains table for? For native
>> replication, are they needed, or can I leave them out of the schema? The
>> documentation seems to imply that I only need the name, id, and
>> type='NATIVE' fields for native replication.
>>
>> (Sorry, I misrouted this before. I forgot to reply all, as this list works
>> differently from most I use.)
>> On Jul 25, 2013 5:27 AM, "Peter van Dijk" <peter.van.dijk at netherlabs.nl>
>> wrote:
>>
>> > Hello,
>> >
>> > On Jul 25, 2013, at 8:08 , Marc Haber wrote:
>> >
>> > >> The documentation
>> > >> (http://doc.powerdns.com/html/generic-mypgsql-backends.html) is
>> quite
>> > >> good on explaining this for the `records` table, but rather sparse on
>> > >> explanations for the `domains` table. The closest I can come is ?3.9
>> > >> 'Native operation', which seems to imply that it's possible to drop
>> > >> the foreign key constraint entirely and not use the domains table at
>> > >> all.
>> > >
>> > > It does indeed suggest that. I have never used PowerDNS this way
>> though.
>> >
>> >
>> > It no longer suggests that :)
>> >
>> > Kind regards,
>> > --
>> > Peter van Dijk
>> > Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
>> >
>> >
>> > _______________________________________________
>> > Pdns-users mailing list
>> > Pdns-users at mailman.powerdns.com
>> > http://mailman.powerdns.com/mailman/listinfo/pdns-users
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130725/964dcf09/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Fri, 26 Jul 2013 09:03:06 +1000
>> From: Luca Salvatore <Luca at ninefold.com>
>> To: "'pdns-users at mailman.powerdns.com'"
>> <pdns-users at mailman.powerdns.com>
>> Subject: [Pdns-users] Issue with subdoamin delegation and AFXR
>> Message-ID:
>> <
>> D16D8905A64EE64CA9FEA8B367EC1BED0A39DD93B0 at MTVMEXM02.workgroup.macquarie.net.au
>> >
>>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> I have hit a very weird issue that I need help me.
>>
>> So, I'm trying to delegate a subdomain from my PDNS server to my slaves.
>> I have the parent domain delegated without any problems at all.
>> Let's call the domain 'annoying.com'
>>
>> I can delegate the parent domain annoying.com with no issues. The
>> records look like this:
>>
>> | name | type | content
>> |
>>
>> +------------------+------+----------------------------------------------------------------------+
>> | annoying.com | SOA | ns0.ninefold.com hostmaster.annoying.com 7
>> 10800 3600 604800 3600 |
>> | annoying.com | NS | ns3.ninefold.com
>> |
>> | annoying.com | NS | ns4.ninefold.com
>>
>>
>> Now i want to create test.anoying.com and delegate that to the same
>> servers as above. So now my records look like this:
>> | name | type | content
>> |
>>
>> +------------------+------+----------------------------------------------------------------------+
>> | annoying.com | SOA | ns0.ninefold.com hostmaster.annoying.com 7
>> 10800 3600 604800 3600 |
>> | annoying.com | NS | ns3.ninefold.com
>> |
>> | test.annoying.com | NS | ns3.ninefold.com
>> |
>> | test.annoying.com | NS | ns4.ninefold.com
>> |
>>
>> +------------------+------+----------------------------------------------------------------------+
>>
>> But this does not work. In the pdns log file I get errors
>>
>> AXFR of domain 'test.annoying.com' initiated by 'ns3.ninefold.com'
>> AXFR of domain 'test.annoying.com' failed: not authoritative
>>
>> So why can I delegate the parent domain, but not a subdomain?
>>
>> Thanks
>>
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130726/3a609a12/attachment.html
>> >
>>
>> ------------------------------
>>
>> _______________________________________________
>> Pdns-users mailing list
>> Pdns-users at mailman.powerdns.com
>> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>>
>>
>> End of Pdns-users Digest, Vol 126, Issue 21
>> *******************************************
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130726/0989b90a/attachment-0001.html>
More information about the Pdns-users
mailing list