[Pdns-users] Manually Changing SOA Serial Number

2011-02-24 Thread Linda Pagillo
Hi everyone. I'm new to the lists and I have a few questions. How do you
manually change the following things in PowerDNS?

 

1.)SOA serial number.

2.)SOA Refresh value

3.)SOA Expire value

 

Thanks!

 

Linda Pagillo - Owner
LPDynamix
931-284-9291
li...@lpdynamix.com

 

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Manually Changing SOA Serial Number

2011-02-24 Thread Linda Pagillo
Actually, I need to know where to go to change the following.

 

1.)SOA Serial number.

2.)SOA Refresh value

3.)SOA Expire value

4.)SOA MNAME Value

5.)SOA Retry Value

6.)SOA TTL Value

 

Thanks again.

 

 

Linda Pagillo - Owner
LPDynamix
931-284-9291
li...@lpdynamix.com

 

From: pdns-users-boun...@mailman.powerdns.com
[mailto:pdns-users-boun...@mailman.powerdns.com] On Behalf Of Linda Pagillo
Sent: Thursday, February 24, 2011 12:23 PM
To: pdns-users@mailman.powerdns.com
Subject: [Pdns-users] Manually Changing SOA Serial Number

 

Hi everyone. I'm new to the lists and I have a few questions. How do you
manually change the following things in PowerDNS?

 

1.)SOA serial number.

2.)SOA Refresh value

3.)SOA Expire value

 

Thanks!

 

Linda Pagillo - Owner
LPDynamix
931-284-9291
li...@lpdynamix.com

 

___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Manually Changing SOA Serial Number

2011-02-24 Thread PLists
On Feb 24, 2011, at 2:29 PM, Linda Pagillo wrote:

> Actually, I need to know where to go to change the following…


These are all in the SOA record. 

See the documentation 

http://doc.powerdns.com/types.html


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Manually Changing SOA Serial Number

2011-02-24 Thread Elfyn McBratney
Hi there,

On 24 February 2011 21:29, Linda Pagillo  wrote:
> Actually, I need to know where to go to change the following…
>
> 1.)    SOA Serial number.
>
> 2.)    SOA Refresh value
>
> 3.)    SOA Expire value
>
> 4.)    SOA MNAME Value
>
> 5.)    SOA Retry Value
>
> 6.)    SOA TTL Value

All but 4) are dependent on which backend module you're using,
so without knowing whether your pdns instance(s) are backed by
a MySQL/PostgreSQL/Oracle database, or even something more
"exotic" like LDAP, it's hard to say.

Assuming that you went with the more common choice of MySQL,
adjusting the SOA for a domain is as simple as connecting to
whichever host mysqld is running on and issuing an UPDATE
command.  To illustrate, below is the SOA record for one of my
domains:

(admin@db-master-int:5432) [pdns] > select name,content
  > from records
  > where type='SOA'
  > and name='nyfle.co.uk';
name | content
-+--
 nyfle.co.uk | ns1.nyfle.co.uk admin.nyfle.co.uk 1298613484 3600 1800 86400 300

Here we have a serial of 1298613484, a slave refresh time of 3600s
(1 hour), a slave retry of 1800s, a slave expiry of 86400s (1 day)
and a minimum TTL of 300s. If I'm right and you're using MySQL, the
following should work assuming you have domain foo.bar:

  UPDATE records SET content='' WHERE
type='SOA' AND name='foo.bar'

Mind, I don't use MySQL. And you might not either... so I heavily
recommend reading through .

WRT MNAME (aka $ORIGIN), that's not supported in PowerDNS as it is in
BIND (at least as far as I know -- I could be wrong!). If you're
migrating existing BIND zones, zone2sql can handle that automatically
with its "--zone" option. Again, I'd recommend reading the manual at
the aforementioned URL as this is all explained there in a much more
coherent fashion. ;)

Best,
Elfyn
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Manually Changing SOA Serial Number

2011-02-24 Thread Elfyn McBratney
On 25 February 2011 06:35, Elfyn McBratney  wrote:
> WRT MNAME (aka $ORIGIN), that's not supported in PowerDNS as it is in
> BIND (at least as far as I know -- I could be wrong!). If you're
> migrating existing BIND zones, zone2sql can handle that automatically
> with its "--zone" option. Again, I'd recommend reading the manual at
> the aforementioned URL as this is all explained there in a much more
> coherent fashion. ;)

Eek, disregard that paragraph please. My, er, morning coffee hadn't
quite kicked in. The so-called MNAME field is the first part of a
record's "content" field, which would be "ns1.nyfle.co.uk" in my
previous example.

Best,
Elfyn
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Manually Changing SOA Serial Number

2011-02-25 Thread Linda Pagillo
Thank you so much Elfyn! I'm extremely green with PowerDNS. I haven't even
set it up yet. I'm just trying to make my own documentation, but I believe
I'm going to go with Mysql as my backend. This information helps me
significantly. No worries on the brain lag, mine does it with or without the
coffee :-) Thanks again.

Linda Pagillo - Owner
LPDynamix
931-284-9291
li...@lpdynamix.com

-Original Message-
From: Elfyn McBratney [mailto:el...@nyfle.co.uk] 
Sent: Friday, February 25, 2011 12:42 AM
To: Linda Pagillo
Cc: pdns-users@mailman.powerdns.com
Subject: Re: [Pdns-users] Manually Changing SOA Serial Number

On 25 February 2011 06:35, Elfyn McBratney  wrote:
> WRT MNAME (aka $ORIGIN), that's not supported in PowerDNS as it is in 
> BIND (at least as far as I know -- I could be wrong!). If you're 
> migrating existing BIND zones, zone2sql can handle that automatically 
> with its "--zone" option. Again, I'd recommend reading the manual at 
> the aforementioned URL as this is all explained there in a much more 
> coherent fashion. ;)

Eek, disregard that paragraph please. My, er, morning coffee hadn't quite
kicked in. The so-called MNAME field is the first part of a record's
"content" field, which would be "ns1.nyfle.co.uk" in my previous example.

Best,
Elfyn


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Manually Changing SOA Serial Number

2011-02-26 Thread PLists
> I'm extremely green with PowerDNS. I haven't even
> set it up yet. I'm just trying to make my own documentation, but I believe
> I'm going to go with Mysql as my backend. 



I really like using the MySQL back end, personally. It's close to the way I've 
always thought DNS should be managed. (I detested BIND.) 

I keep my personal notes public. I don't know if they would be of any help 
whatsoever. But since you've not set anything up yet, I'll offer them up 
anyhow. http://jamesreubenknowles.com/?s=powerdns


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] Manually Changing SOA Serial Number

2011-02-27 Thread Linda Pagillo
Thank you so much. This is very nice of you! 

Linda Pagillo - Owner
LPDynamix
931-284-9291
li...@lpdynamix.com

-Original Message-
From: pdns-users-boun...@mailman.powerdns.com
[mailto:pdns-users-boun...@mailman.powerdns.com] On Behalf Of PLists
Sent: Saturday, February 26, 2011 7:18 PM
To: pdns-users
Subject: Re: [Pdns-users] Manually Changing SOA Serial Number

> I'm extremely green with PowerDNS. I haven't even set it up yet. I'm 
> just trying to make my own documentation, but I believe I'm going to 
> go with Mysql as my backend.



I really like using the MySQL back end, personally. It's close to the way
I've always thought DNS should be managed. (I detested BIND.) 

I keep my personal notes public. I don't know if they would be of any help
whatsoever. But since you've not set anything up yet, I'll offer them up
anyhow. http://jamesreubenknowles.com/?s=powerdns


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users