[users] question about and ns records.. and wildcards

2005-02-01 Thread Brian
I have a tinydns server that I am trying to port/put into vegadns; to
make life easier on the people here.
in the original tinydns data file (that was created by hand/a human) I
have this:
Zdomain.name:192.168.1.248:hostmaster.domain.name::7200:3601:86400:3601:43200::
domain.name:192.168.1.248:500
it seems that vegadns will not allow me to make this same entry
(regarding the  entry)
I cannot put an IP address in there this is the closest thing I can get:
Zdomain.name:192.168.1.248:hostmaster.domain.name::16384:2048:1048576:2560:86400
domain.name::ns.domain.name:3600
+ns.domain.name:192.168.1.248:3600
Is there something syntactily incorrect about my entry with an IP?
also is there no way to do a wildcard entry?
*.something.domain.name as an A record isn't accepted.
How can I get that to be entered?
Thanks in advance.


Re: [users] question about and ns records.. and wildcards

2005-02-01 Thread Bill Shupp
Brian wrote:
I have a tinydns server that I am trying to port/put into vegadns; to
make life easier on the people here.
in the original tinydns data file (that was created by hand/a human) I
have this:
Zdomain.name:192.168.1.248:hostmaster.domain.name::7200:3601:86400:3601:43200:: 

domain.name:192.168.1.248:500
it seems that vegadns will not allow me to make this same entry
(regarding the  entry)
I cannot put an IP address in there this is the closest thing I can get:
Zdomain.name:192.168.1.248:hostmaster.domain.name::16384:2048:1048576:2560:86400 

domain.name::ns.domain.name:3600
+ns.domain.name:192.168.1.248:3600
Is there something syntactily incorrect about my entry with an IP?
also is there no way to do a wildcard entry?
*.something.domain.name as an A record isn't accepted.
How can I get that to be entered?
Thanks in advance.
An NS record should not point to an IP, I believe.  You need it to point 
to a hostname, and then have an A record for that hostname.

Regards,
Bill


Re: [users] question about and ns records.. and wildcards

2005-02-01 Thread Bill Shupp
Brian wrote:
Ok.. (like you didn't know this was coming.. )
Where would I find out how to do it?
hostname *.blah.domain.name
type A
address 192.168.1.200
gives this error:
 *.blah.domain.name. is not a valid A record name
when I use \*.blah.domain.name I get this error:
\\*.blah.domain.name. is not a valid A record name
the tinydns-data page looks like it's an A record.
where would I be able to find that information on how to add a 
wildcard entry?  I didn't see anything in the archives.

Thanks in advance

I just tried with 0.9.7, the only version I have installed right now.. 
and it works.  The sanity checking in 0.9.8 may have broken wildcards.  
I'll have to look into that later today.

Regards,
Bill


Re: [users] question about and ns records.. and wildcards

2005-02-01 Thread Bob Hutchinson
On Tuesday 01 Feb 2005 18:58, Brian wrote:
 Ok.. (like you didn't know this was coming.. )

 Where would I find out how to do it?

 hostname *.blah.domain.name
 type A
 address 192.168.1.200

 gives this error:
   *.blah.domain.name. is not a valid A record name

You will need to edit functions.php
line 135 in the function check_domain_name_format
 $result = ereg(^[\.a-z0-9-]+$, strtolower($name));
 $result = ereg(^[\*\.a-z0-9-]+$, strtolower($name));

in other words add a \* to the regex. the backslash escapes the * so that it 
is evaluated literally

Then in records get rid of all subdomains if any, then add one with * and it 
goes in to the database, at least it just did here...

Wether it will appear correctly in the tinydns data file I shall leave to you 
to report back ;-)


 when I use \*.blah.domain.name I get this error:

 \\*.blah.domain.name. is not a valid A record name

 the tinydns-data page looks like it's an A record.

 where would I be able to find that information on how to add a wildcard
 entry?  I didn't see anything in the archives.

 Thanks in advance

-- 
-
Bob Hutchinson
Midwales dot com
-