[Pdns-users] Disabling / Locking domains for a certain time

Mark Watts m.watts at eris.qinetiq.com
Fri Apr 22 08:20:01 UTC 2005

Hash: SHA1

The obvious way would be to add an extra column to the tables to indicate if 
the domain is locked or not, then modify pdns to check that value before 
returning data or not.


> We have a way of doing it, but it's a hack and saw method, as we manage the
> dns via our intranet just have a button that inserts XXX into the SOA / NS
> records and any A or CNAME records so nothing resolves correctly.
> There are cleaner ways no doubt but it works.
> --
> Gareth Campling
> Network Operations
> Griffin Internet
> T  :  0870 804 0 804
> F  :  0870 804 0 805
> DD :  0870 804 0 863
> W  :  www.griffin.com
> -----Original Message-----
> From: pdns-users-bounces at mailman.powerdns.com
> [mailto:pdns-users-bounces at mailman.powerdns.com] On Behalf Of Tobias
> Orlamuende Sent: 22 April 2005 09:08
> To: pdns-users at mailman.powerdns.com
> Subject: [Pdns-users] Disabling / Locking domains for a certain time
> Hi folks,
> we are thinking about using PDNS as replacement for our Bind-servers.
> Due to the fact, that we are an ISP and have lots of customers, sometimes
> it will be needed to lock a domain on DNS-level if a customer doesn't pay
> his invoice. Until now, we did just a quick renaming of Bind's .dns-file to
> .dnsx. Is there any possibility and if yes, which one(s), to do this with
> PDNS using the gmysql-backend? IMHO a second table like "domains_locked"
> where the record of the affected domain from table "domains" would be moved
> should do it, but due to the fact that field "id" on table "domains" has
> auto_increment, it would give problems if the record moved to the other
> table, is the last one and a new record is inserted in the meantime. Ok, it
> seems to be a very seldom scenario, but with a big amount of domains to
> manage, it could be possible.
> How do other ISPs solve this with PDNS?
> If somebody made a change like this and maybe has it implemented to
> powerdnsadmin, I'd be very hapy to hear how it works and get a diff or
> patch. Currently it seems to me, that powerdnsadmin is the only
> "well-known" tool, which has ongoing development. Am I right with this?
> TIA for all answers.
> --
> Mit freundlichen Gruessen / Kind regards
> Tobias Orlamünde
> Technischer Leiter
> eyes4media GmbH
> Gaiserwaldstrasse 16a
> CH-9015 St. Gallen
> fon +41-71-3141010
> fax +41-71-3141019
> PGP Fingerprint: 342A 0C9C 85FE 4C88 4290 E740 6D97 B509 20B0 6250
> _______________________________________________ Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users

- -- 
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services Group
GPG Public Key ID: 455420ED

Version: GnuPG v1.2.4 (GNU/Linux)


More information about the Pdns-users mailing list