[users] question about and ns records.. and wildcards
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
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] Hook request
On Tue, 2005-01-25 at 12:16 -0800, Bill Shupp wrote: Ron Guerin wrote: The more I think about this, the more it seems like it might not be a bad idea for very large sites. However, it should be an option set in config.php. Can you easily alter it to work that way? How about this? config.php -- define(EXTRA_UPDATE, TRUE); function update_extra_processing() { // user code goes here or else this does nothing } records.php --- if(EXTRA_UPDATE) { update_extra_processing; } // in appropriate places If this is what you had in mind, I can send you a patch like that. - Ron
Re: [users] question about and ns records.. and wildcards
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
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 -