[users] Status of 1.1.4

2005-07-27 Thread Andy Abshagen



Bill,
 
What is the status 
of 1.1.4?  I know it has been in beta for some time.
 
Andy


Re: [users] Feature Request - Integration API

2005-07-27 Thread dopry
On Wed, 2005-07-27 at 11:08 -0700, Bill Shupp wrote:
> dopry wrote:
> > Bill, 
> > 
> > I'm not sure if this fits on your long term roadmap, but a little code
> > reorg to make an API for VegaDNS would be nice. Something to make it
> > easier to add new interfaces to the database like XML-RPC, SOAP or maybe
> > even a libvegadns for c.
> 
> Sure, I'm open to suggestions.  If you check out 1.1.4, you'll see I'm 
> moving all permissions related stuff into the permissions class, which 
> is a step in that direction.
> 
> Regards,
> 
> Bill
> 

So maybe we just need a domain class a record class to start, or do you
think I should lean toward a functional approach?


//bad pseudo code to follow
class domain {
function domain($domainname == false) {
if (is_numeric($domainname))
load SOA data / perms
return self
elseif($domainname)
deserialize domain data 
return self 
else 
load defaults
return self
}
}

//getters/setters

//@ return array of records
function getRecords()

//addRecord to domains
// @params record object/array of record objects
function addRecord($record) {
}

function save {
if (domainid == newdomain)
insert
else
update
}
}
}



Re: [users] Feature Request - Integration API

2005-07-27 Thread Bill Shupp

dopry wrote:
Bill, 


I'm not sure if this fits on your long term roadmap, but a little code
reorg to make an API for VegaDNS would be nice. Something to make it
easier to add new interfaces to the database like XML-RPC, SOAP or maybe
even a libvegadns for c.


Sure, I'm open to suggestions.  If you check out 1.1.4, you'll see I'm 
moving all permissions related stuff into the permissions class, which 
is a step in that direction.


Regards,

Bill


[users] Feature Request - Integration API

2005-07-27 Thread dopry
Bill, 

I'm not sure if this fits on your long term roadmap, but a little code
reorg to make an API for VegaDNS would be nice. Something to make it
easier to add new interfaces to the database like XML-RPC, SOAP or maybe
even a libvegadns for c.

ok back to my cave.



Re: [users] FEATURE REQUEST

2005-07-27 Thread Bill Shupp

Dean Mumby wrote:

Hi

I was wondering if anyone else could see the benefit of being able to 
activate and de-activate specific DNS records. Similar to the activate 
and de-activate domain feature except for a specific record. Obviously 
all records would be activated by default.


I will explain my reason. I have just written a few PHP pages to 
function as a dynamic DNS service. (You will probably ask why when there 
are so many free ones , well quite simply because overseas access is not 
always reliable enough in South Africa) What I started thinking  was now 
I could use this service for mail spooling , but straight away I 
realized that it would not be reliable since the records would be 
incorrect if the client machine was off-line. What I came up with was if 
I removed the record if it had not been updated for X minutes then I 
would never hand out incorrect DNS records. But rather than deleting and 
re-creating records I would prefer to just run an 
activation/de-activation routine . Then all I would need is a cron job 
looking at all my dynamic DNS entries and de-activating ones that are 
more than X minutes old leaving the static records in place and mail 
backing up on secondary MX server.


I know this is long winded , but I figured if I spelled it out clearly 
enough  someone else might also think it wasn't such a bad idea.


This should be relatively easy to do, but will require an edit to the 
records table.  Adding an enum column called "active", with the options 
of "yes" and "no", defaulting to "yes", should do the trick.


Regards,

Bill


Re: [users] PTR Record

2005-07-27 Thread Bill Shupp

Umar Draz wrote:

Dear thanks for your mail

i follow your instruction but result is same

Hostname  252.1.168.192.in-addr.arpa
Type  PTR
Address   umarhelp.net
Distance (MX only)0
TTL   3600

PTR "252.1.168.192.in-addr.arpa.umarhelp.net" does not
end in .in-addr.arpa.

what i can to do?


Make sure there is a trailing dot on the hostname.  I don't recall if it 
will cause this particular error or not, though.  I'd have to look at 
the code.


Regards,

Bill


[users] FEATURE REQUEST

2005-07-27 Thread Dean Mumby

Hi

I was wondering if anyone else could see the benefit of being able to 
activate and de-activate specific DNS records. Similar to the activate 
and de-activate domain feature except for a specific record. Obviously 
all records would be activated by default.


I will explain my reason. I have just written a few PHP pages to 
function as a dynamic DNS service. (You will probably ask why when there 
are so many free ones , well quite simply because overseas access is not 
always reliable enough in South Africa) What I started thinking  was now 
I could use this service for mail spooling , but straight away I 
realized that it would not be reliable since the records would be 
incorrect if the client machine was off-line. What I came up with was if 
I removed the record if it had not been updated for X minutes then I 
would never hand out incorrect DNS records. But rather than deleting and 
re-creating records I would prefer to just run an 
activation/de-activation routine . Then all I would need is a cron job 
looking at all my dynamic DNS entries and de-activating ones that are 
more than X minutes old leaving the static records in place and mail 
backing up on secondary MX server.


I know this is long winded , but I figured if I spelled it out clearly 
enough  someone else might also think it wasn't such a bad idea.


Regards
Dean



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 2005/07/25



Re: [users] PTR Record

2005-07-27 Thread Bob Hutchinson
On Wednesday 27 Jul 2005 08:02, Umar Draz wrote:
> Dear thanks for your mail
>
> i follow your instruction but result is same
>
> Hostname  252.1.168.192.in-addr.arpa
> Type  PTR
> Address   umarhelp.net
> Distance (MX only)0
> TTL   3600
>
> PTR "252.1.168.192.in-addr.arpa.umarhelp.net" does not
> end in .in-addr.arpa.
>
> what i can to do?

create a new domain  252.1.168.192.in-addr.arpa, make a ptr record with that

look at the data file, and like Allen says, read the docs.

>
> Umar Draz
>
> --- Allen Parker <[EMAIL PROTECTED]> wrote:
> > for PTR record, you'd actually be doing the
> > following:
> >
> > hostname: 252.1.168.192.in-addr.arpa
> > type: ptr
> > address: umarhelp.net
> >
> > (if i remember correctly)
> >
> > On 7/26/05, Umar Draz <[EMAIL PROTECTED]> wrote:
> > > hi dear members!
> > >
> > >   i have install vgadns. when i want add ptr
> >
> > record
> >
> > > for my domain "umarhelp.net"
> > >
> > > i got this error
> > >
> > > PTR "umarhelp.net" does not end in .in-addr.arpa.
> > >
> > > Hostname  umarhelp.net
> > > Type  PTR
> > > Address   192.168.1.252
> > > Distance (MX only)0
> > > TTL   3600
> > >
> > > please help me how i can resolve this issue
> > >
> > > regards
> > >
> > > Umar Draz
> > >
> > >
> > >
> > > __
> > > Yahoo! Mail for Mobile
> > > Take Yahoo! Mail with you! Check email on your
> >
> > mobile phone.
> >
> > > http://mobile.yahoo.com/learn/mail
> >
> > --
> > 
> > To avoid being added to my spam filter:
> > 1. Utilize list replies unless otherwise requested.
> > 2. If you DO send me a personal email, use english.
> > 3. HTML isn't cute. It belongs on the web, not in my
> > inbox.
>
> 
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs

-- 
-
Bob Hutchinson
Midwales dot com
-


Re: [users] PTR Record

2005-07-27 Thread Allen Parker
I suggest that you read the fine manuals before posting to this list again.
http://tinydns.org/

when you've figured out how to configure djbdns/tinydns without a
web-based configuration system, if you're still confused, then go
ahead and come back to us...

On 7/26/05, Umar Draz <[EMAIL PROTECTED]> wrote:
> PTR "252.1.168.192.in-addr.arpa.umarhelp.net" does not
> end in .in-addr.arpa.

^^ THAT is a pretty clear indication that you have no understanding of
the dns system in general... the error is pretty clear... a PTR record
*MUST* end in in-addr.arpa

example:
host 216.239.32.10
10.32.239.216.in-addr.arpa domain name pointer ns1.google.com.
 
> what i can to do?
there's pretty exhaustive information contained in the documentation
for djbdns... if you understand how the underlying system works,
perhaps you'll be able to help yourself with regards to this error...

> Umar Draz

-- 

To avoid being added to my spam filter:
==> 1. Utilize list replies unless otherwise requested. <==
2. If you DO send me a personal email, use english.
3. HTML isn't cute. It belongs on the web, not in my inbox.


Re: [users] PTR Record

2005-07-27 Thread Umar Draz
Dear thanks for your mail

i follow your instruction but result is same

Hostname  252.1.168.192.in-addr.arpa
Type  PTR
Address   umarhelp.net
Distance (MX only)0
TTL   3600

PTR "252.1.168.192.in-addr.arpa.umarhelp.net" does not
end in .in-addr.arpa.

what i can to do?

Umar Draz


--- Allen Parker <[EMAIL PROTECTED]> wrote:

> for PTR record, you'd actually be doing the
> following:
> 
> hostname: 252.1.168.192.in-addr.arpa
> type: ptr
> address: umarhelp.net
> 
> (if i remember correctly)
> 
> On 7/26/05, Umar Draz <[EMAIL PROTECTED]> wrote:
> > hi dear members!
> > 
> >   i have install vgadns. when i want add ptr
> record
> > for my domain "umarhelp.net"
> > 
> > i got this error
> > 
> > PTR "umarhelp.net" does not end in .in-addr.arpa.
> > 
> > Hostname  umarhelp.net
> > Type  PTR
> > Address   192.168.1.252
> > Distance (MX only)0
> > TTL   3600
> > 
> > please help me how i can resolve this issue
> > 
> > regards
> > 
> > Umar Draz
> > 
> > 
> > 
> > __
> > Yahoo! Mail for Mobile
> > Take Yahoo! Mail with you! Check email on your
> mobile phone.
> > http://mobile.yahoo.com/learn/mail
> > 
> 
> 
> -- 
> 
> To avoid being added to my spam filter:
> 1. Utilize list replies unless otherwise requested.
> 2. If you DO send me a personal email, use english.
> 3. HTML isn't cute. It belongs on the web, not in my
> inbox.
> 





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs