Re: [users] axfr issues

2005-11-09 Thread Bob Hutchinson
On Wednesday 09 Nov 2005 23:30, Bob Ababurko wrote:
> Scott Muller wrote:
> > Bob Ababurko wrote:
> >> Jason S wrote:
> >>> On 11/8/05, *Bob Ababurko* <[EMAIL PROTECTED]
> >>> > wrote:
> >>>
> >>> Is there any reason that the axfr would not work for me?  I have
> >>> the
> >>> axfr running on the same IP as I do tinydns.  I can do a dnsq of
> >>> the
> >>> domain that I want to transfer using 'soa domain tinydns/axfr_IP'
> >>> and it
> >>> works fine showing that the domain is set up ok.  I have the tcp
> >>> file
> >>> set up with: :allow,AXFR="ricochetmarketing.com
> >>> "
> >>>
> >>> When i go to import the domain via the gui, I get:
> >>>
> >>> Error: could not do axfr-get for ricochetmarketing.com
> >>> 
> >>>
> >>> I do not know what else I can do.  I actually do not see anything
> >>> in the
> >>> logs of the axfrdns server.  I am thinking that something may
> >>> not be
> >>> working right with the vegadns host.  When I try to run '
> >>> tcpclient -v
> >>> -H -R 24.75.44.210  53 axfr-get
> >>> ricochetmarketing.com  zone
> >>> zone.tmp', I
> >>> get the zone downloaded without a problem.
> >>>
> >>> Anyone have any suggestions?
> >>>
> >>> -Bob
> >>>
> >>>
> >>>
> >>> I think Vegadns is running this command when you try to do axfr from
> >>> the gui (line 565 in src/domains.php).
> >>>
> >>> wget -q -O -
> >>> '$vegadns_url/axfr_get.php?domain=$domain&hostname=".$_REQUEST['hostnam
> >>>e']."'
> >>>
> >>>
> >>> Try running that from the command line (substituting actual values)
> >>> and see if it gives you any more clues as to what could be happening.
> >>>
> >>>
> >>> --
> >>>
> >>> Jason
> >>> [EMAIL PROTECTED] 
> >>
> >> Is there any way I can run this from the command line and have it
> >> populate the db and/or get some type of error message that I can
> >> figure out rather than "Error: could not do axfr-get for
> >> ricochetmarketing.com:"
> >>
> >> I need to upload entries to around 400 hosts with 2 A records each so
> >> about 800 or so entries for the zone.
> >>
> >> -Bob
> >
> > One of the problems I had on FreeBSD was that I had to specify the
> > full path to the wget command.
>
> Good call brother!  I knew someone would come through!!  A thousand
> thanks!...or more like around 800 or so!

Glad an answer arrived, I have attached some scripts that I used a year or so 
ago, they will need editing. They will make bulk imports a bit easier.

HTH
-- 
-
Bob Hutchinson
Midwales dot com
-


axfr2data.pl
Description: Perl program


axfr2data.sh
Description: application/shellscript


data2sql.pl
Description: Perl program


Re: [users] axfr issues

2005-11-09 Thread Bob Ababurko

Scott Muller wrote:


Bob Ababurko wrote:


Jason S wrote:

On 11/8/05, *Bob Ababurko* <[EMAIL PROTECTED] 
> wrote:


Is there any reason that the axfr would not work for me?  I have 
the
axfr running on the same IP as I do tinydns.  I can do a dnsq of 
the

domain that I want to transfer using 'soa domain tinydns/axfr_IP'
and it
works fine showing that the domain is set up ok.  I have the tcp 
file

set up with: :allow,AXFR="ricochetmarketing.com
"

When i go to import the domain via the gui, I get:

Error: could not do axfr-get for ricochetmarketing.com


I do not know what else I can do.  I actually do not see anything
in the
logs of the axfrdns server.  I am thinking that something may 
not be

working right with the vegadns host.  When I try to run '
tcpclient -v
-H -R 24.75.44.210  53 axfr-get
ricochetmarketing.com  zone 
zone.tmp', I

get the zone downloaded without a problem.

Anyone have any suggestions?

-Bob



I think Vegadns is running this command when you try to do axfr from 
the gui (line 565 in src/domains.php).


wget -q -O - 
'$vegadns_url/axfr_get.php?domain=$domain&hostname=".$_REQUEST['hostname']."' 



Try running that from the command line (substituting actual values) 
and see if it gives you any more clues as to what could be happening.



--

Jason
[EMAIL PROTECTED]  




Is there any way I can run this from the command line and have it 
populate the db and/or get some type of error message that I can 
figure out rather than "Error: could not do axfr-get for 
ricochetmarketing.com:"


I need to upload entries to around 400 hosts with 2 A records each so 
about 800 or so entries for the zone.


-Bob




One of the problems I had on FreeBSD was that I had to specify the 
full path to the wget command.



Good call brother!  I knew someone would come through!!  A thousand 
thanks!...or more like around 800 or so!


peace,
Bob


RE: [users] axfr issues

2005-11-09 Thread Chris Odell

  me too 

-Original Message-
From: Scott Muller [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 09, 2005 2:59 PM
To: users@vegadns.org
Subject: Re: [users] axfr issues

Bob Ababurko wrote:
> Jason S wrote:
> 
>> On 11/8/05, *Bob Ababurko* <[EMAIL PROTECTED] 
>> <mailto:[EMAIL PROTECTED]>> wrote:
>>
>> Is there any reason that the axfr would not work for me?  I have the
>> axfr running on the same IP as I do tinydns.  I can do a dnsq of the
>> domain that I want to transfer using 'soa domain tinydns/axfr_IP'
>> and it
>> works fine showing that the domain is set up ok.  I have the tcp file
>> set up with: :allow,AXFR="ricochetmarketing.com
>> <http://ricochetmarketing.com>"
>>
>> When i go to import the domain via the gui, I get:
>>
>> Error: could not do axfr-get for ricochetmarketing.com
>> <http://ricochetmarketing.com>
>>
>> I do not know what else I can do.  I actually do not see anything
>> in the
>> logs of the axfrdns server.  I am thinking that something may not be
>> working right with the vegadns host.  When I try to run '
>> tcpclient -v
>> -H -R 24.75.44.210 <http://24.75.44.210> 53 axfr-get
>> ricochetmarketing.com <http://ricochetmarketing.com> zone 
>> zone.tmp', I
>> get the zone downloaded without a problem.
>>
>> Anyone have any suggestions?
>>
>> -Bob
>>
>>
>>
>> I think Vegadns is running this command when you try to do axfr from 
>> the gui (line 565 in src/domains.php).
>>
>> wget -q -O -
>>
'$vegadns_url/axfr_get.php?domain=$domain&hostname=".$_REQUEST['hostname']."
' 
>>
>>
>> Try running that from the command line (substituting actual values) 
>> and see if it gives you any more clues as to what could be happening.
>>
>>
>> --
>>
>> Jason
>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
> 
> Is there any way I can run this from the command line and have it 
> populate the db and/or get some type of error message that I can 
> figure out rather than "Error: could not do axfr-get for
ricochetmarketing.com:"
> 
> I need to upload entries to around 400 hosts with 2 A records each so 
> about 800 or so entries for the zone.
> 
> -Bob


One of the problems I had on FreeBSD was that I had to specify the full path
to the wget command.


-- 

Scott Muller [EMAIL PROTECTED]
Senior Communications Consultant Mobile : +61 (0)4388 300 82
NetCommplete Pty Ltd Phone  : +61 (0)2 6331 4773
http://www.netcommplete.com.au   Fax: +61 (0)2 6331 4909




Re: [users] axfr issues

2005-11-09 Thread Scott Muller

Bob Ababurko wrote:

Jason S wrote:

On 11/8/05, *Bob Ababurko* <[EMAIL PROTECTED] 
> wrote:


Is there any reason that the axfr would not work for me?  I have the
axfr running on the same IP as I do tinydns.  I can do a dnsq of the
domain that I want to transfer using 'soa domain tinydns/axfr_IP'
and it
works fine showing that the domain is set up ok.  I have the tcp file
set up with: :allow,AXFR="ricochetmarketing.com
"

When i go to import the domain via the gui, I get:

Error: could not do axfr-get for ricochetmarketing.com


I do not know what else I can do.  I actually do not see anything
in the
logs of the axfrdns server.  I am thinking that something may not be
working right with the vegadns host.  When I try to run '
tcpclient -v
-H -R 24.75.44.210  53 axfr-get
ricochetmarketing.com  zone 
zone.tmp', I

get the zone downloaded without a problem.

Anyone have any suggestions?

-Bob



I think Vegadns is running this command when you try to do axfr from 
the gui (line 565 in src/domains.php).


wget -q -O - 
'$vegadns_url/axfr_get.php?domain=$domain&hostname=".$_REQUEST['hostname']."' 



Try running that from the command line (substituting actual values) 
and see if it gives you any more clues as to what could be happening.



--

Jason
[EMAIL PROTECTED]  



Is there any way I can run this from the command line and have it 
populate the db and/or get some type of error message that I can figure 
out rather than "Error: could not do axfr-get for ricochetmarketing.com:"


I need to upload entries to around 400 hosts with 2 A records each so 
about 800 or so entries for the zone.


-Bob



One of the problems I had on FreeBSD was that I had to specify the full 
path to the wget command.



--

Scott Muller [EMAIL PROTECTED]
Senior Communications Consultant Mobile : +61 (0)4388 300 82
NetCommplete Pty Ltd Phone  : +61 (0)2 6331 4773
http://www.netcommplete.com.au   Fax: +61 (0)2 6331 4909




Re: [users] axfr issues

2005-11-09 Thread Bob Ababurko

Jason S wrote:

On 11/9/05, *Jason S* <[EMAIL PROTECTED] > 
wrote:


On 11/9/05, *Bob Ababurko* <[EMAIL PROTECTED]
> wrote:

Jason S wrote:


On 11/8/05, *Bob Ababurko* <[EMAIL PROTECTED]



mailto:[EMAIL PROTECTED]>>> wrote:

Is there any reason that the axfr would not work for

me?  I have the

axfr running on the same IP as I do tinydns.  I can do a

dnsq of the

domain that I want to transfer using 'soa domain

tinydns/axfr_IP'

and it
works fine showing that the domain is set up ok.  I have

the tcp file

set up with: :allow,AXFR="ricochetmarketing.com



< http://ricochetmarketing.com>"

When i go to import the domain via the gui, I get:

Error: could not do axfr-get for ricochetmarketing.com



< http://ricochetmarketing.com>

I do not know what else I can do.  I actually do not see

anything

in the
logs of the axfrdns server.  I am thinking that something

may not be

working right with the vegadns host.  When I try to run '
tcpclient -v
-H -R 24.75.44.210  <

http://24.75.44.210> 53 axfr-get

ricochetmarketing.com 

 zone zone.tmp', I

get the zone downloaded without a problem.

Anyone have any suggestions?

-Bob



I think Vegadns is running this command when you try to do

axfr from

the gui (line 565 in src/domains.php).

wget -q -O -
'$vegadns_url/axfr_get.php?domain=$domain&hostname=".$_REQUEST['hostname']."'




Try running that from the command line (substituting actual

values)

and see if it gives you any more clues as to what could be

happening.



--

Jason
[EMAIL PROTECTED] 

>


Ok, I ran this command and it works fine.  I get no errors and
see the
zone as it is defined on the tinydns server.

Now, I am not sure where that leaves me since I am illiterate
when it
comes to reading php scripts.
-Bob



Just grasping at straws... is the PHP function 'shell_exec'
disabled on your server?

The next line after the wget is:

$out = shell_exec($command);

Maybe the shell_exec is failing and $out is empty or contains an
error?


-- 


Jason
[EMAIL PROTECTED]  



Oh, a quick way to test my theory about shell_exec...

Try the DNS Query tool within Vegadns. It uses shell_exec. If that 
works, then shell_exec is not the problem. If that fails, then maybe 
shell_exec is the problem.


--

Jason
[EMAIL PROTECTED]  




That works.  Looks like it is a command line dnsq or dnsqr, right?  I 
never even knew it was there.  I am not sure how the heck I can get this 
domain in my db.  The thing is, I have used this method before with 
domains from the some boxen.  I just do not know what has happened in 
between.  I have replaced all the vegadns scripts and reconfigured it 
and it still does the same thing.  Can you tell by the Code, what the 
error means, or is it just a generic error message?


-Bob


Re: [users] axfr issues

2005-11-09 Thread Jason S
On 11/9/05, Jason S <[EMAIL PROTECTED]> wrote:
On 11/9/05, Bob Ababurko <[EMAIL PROTECTED]
> wrote:
Jason S wrote:> On 11/8/05, *Bob Ababurko* <[EMAIL PROTECTED]> 
[EMAIL PROTECTED]>> wrote:>> Is there any reason that the axfr would not work for me?  I have the
> axfr running on the same IP as I do tinydns.  I can do a dnsq of the> domain that I want to transfer using 'soa domain tinydns/axfr_IP'> and it> works fine showing that the domain is set up ok.  I have the tcp file
> set up with: :allow,AXFR="ricochetmarketing.com> <
http://ricochetmarketing.com>">> When i go to import the domain via the gui, I get:
>> Error: could not do axfr-get for ricochetmarketing.com> <
http://ricochetmarketing.com>>
> I do not know what else I can do.  I actually do not see anything> in the> logs of the axfrdns server.  I am thinking that something may not be> working right with the vegadns host.  When I try to run '
> tcpclient -v> -H -R 24.75.44.210 <
http://24.75.44.210> 53 axfr-get> ricochetmarketing.com
  zone zone.tmp', I> get the zone downloaded without a problem.
>> Anyone have any suggestions?>> -Bob
 I think Vegadns is running this command when you try to do axfr from> the gui (line 565 in src/domains.php).>> wget -q -O -> '$vegadns_url/axfr_get.php?domain=$domain&hostname=".$_REQUEST['hostname']."'
>> Try running that from the command line (substituting actual values)> and see if it gives you any more clues as to what could be happening.>>> -->> Jason> 

[EMAIL PROTECTED] [EMAIL PROTECTED]>Ok, I ran this command and it works fine.  I get no errors and see the
zone as it is defined on the tinydns server.
Now, I am not sure where that leaves me since I am illiterate when itcomes to reading php scripts.-BobJust grasping at straws... is the PHP function 'shell_exec' disabled on your server? 


The next line after the wget is:

$out = shell_exec($command);

Maybe the shell_exec is failing and $out is empty or contains an error?

-- Jason[EMAIL PROTECTED]

Oh, a quick way to test my theory about shell_exec...

Try the DNS Query tool within Vegadns. It uses shell_exec. If that
works, then shell_exec is not the problem. If that fails, then maybe
shell_exec is the problem.-- Jason[EMAIL PROTECTED]


Re: [users] axfr issues

2005-11-09 Thread Jason S
On 11/9/05, Bob Ababurko <[EMAIL PROTECTED]> wrote:
Jason S wrote:> On 11/8/05, *Bob Ababurko* <[EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote:>> Is there any reason that the axfr would not work for me?  I have the
> axfr running on the same IP as I do tinydns.  I can do a dnsq of the> domain that I want to transfer using 'soa domain tinydns/axfr_IP'> and it> works fine showing that the domain is set up ok.  I have the tcp file
> set up with: :allow,AXFR="ricochetmarketing.com> ">> When i go to import the domain via the gui, I get:
>> Error: could not do axfr-get for ricochetmarketing.com> >
> I do not know what else I can do.  I actually do not see anything> in the> logs of the axfrdns server.  I am thinking that something may not be> working right with the vegadns host.  When I try to run '
> tcpclient -v> -H -R 24.75.44.210  53 axfr-get> ricochetmarketing.com
  zone zone.tmp', I> get the zone downloaded without a problem.>> Anyone have any suggestions?>> -Bob
 I think Vegadns is running this command when you try to do axfr from> the gui (line 565 in src/domains.php).>> wget -q -O -> '$vegadns_url/axfr_get.php?domain=$domain&hostname=".$_REQUEST['hostname']."'
>> Try running that from the command line (substituting actual values)> and see if it gives you any more clues as to what could be happening.>>> -->> Jason> 
[EMAIL PROTECTED] [EMAIL PROTECTED]>Ok, I ran this command and it works fine.  I get no errors and see thezone as it is defined on the tinydns server.
Now, I am not sure where that leaves me since I am illiterate when itcomes to reading php scripts.-BobJust grasping at straws... is the PHP function 'shell_exec' disabled on your server? 


The next line after the wget is:

$out = shell_exec($command);

Maybe the shell_exec is failing and $out is empty or contains an error?

-- Jason[EMAIL PROTECTED]


Re: [users] axfr issues

2005-11-09 Thread Bob Ababurko

Jason S wrote:

On 11/8/05, *Bob Ababurko* <[EMAIL PROTECTED] 
> wrote:


Is there any reason that the axfr would not work for me?  I have the
axfr running on the same IP as I do tinydns.  I can do a dnsq of the
domain that I want to transfer using 'soa domain tinydns/axfr_IP'
and it
works fine showing that the domain is set up ok.  I have the tcp file
set up with: :allow,AXFR="ricochetmarketing.com
"

When i go to import the domain via the gui, I get:

Error: could not do axfr-get for ricochetmarketing.com


I do not know what else I can do.  I actually do not see anything
in the
logs of the axfrdns server.  I am thinking that something may not be
working right with the vegadns host.  When I try to run '
tcpclient -v
-H -R 24.75.44.210  53 axfr-get
ricochetmarketing.com  zone zone.tmp', I
get the zone downloaded without a problem.

Anyone have any suggestions?

-Bob



I think Vegadns is running this command when you try to do axfr from 
the gui (line 565 in src/domains.php).


wget -q -O - 
'$vegadns_url/axfr_get.php?domain=$domain&hostname=".$_REQUEST['hostname']."'


Try running that from the command line (substituting actual values) 
and see if it gives you any more clues as to what could be happening.



--

Jason
[EMAIL PROTECTED]  


Is there any way I can run this from the command line and have it 
populate the db and/or get some type of error message that I can figure 
out rather than "Error: could not do axfr-get for ricochetmarketing.com:"


I need to upload entries to around 400 hosts with 2 A records each so 
about 800 or so entries for the zone.


-Bob


Re: [users] axfr issues

2005-11-09 Thread Bob Ababurko

Jason S wrote:

On 11/8/05, *Bob Ababurko* <[EMAIL PROTECTED] 
> wrote:


Is there any reason that the axfr would not work for me?  I have the
axfr running on the same IP as I do tinydns.  I can do a dnsq of the
domain that I want to transfer using 'soa domain tinydns/axfr_IP'
and it
works fine showing that the domain is set up ok.  I have the tcp file
set up with: :allow,AXFR="ricochetmarketing.com
"

When i go to import the domain via the gui, I get:

Error: could not do axfr-get for ricochetmarketing.com


I do not know what else I can do.  I actually do not see anything
in the
logs of the axfrdns server.  I am thinking that something may not be
working right with the vegadns host.  When I try to run '
tcpclient -v
-H -R 24.75.44.210  53 axfr-get
ricochetmarketing.com  zone zone.tmp', I
get the zone downloaded without a problem.

Anyone have any suggestions?

-Bob



I think Vegadns is running this command when you try to do axfr from 
the gui (line 565 in src/domains.php).


wget -q -O - 
'$vegadns_url/axfr_get.php?domain=$domain&hostname=".$_REQUEST['hostname']."'


Try running that from the command line (substituting actual values) 
and see if it gives you any more clues as to what could be happening.



--

Jason
[EMAIL PROTECTED] 



Ok, I ran this command and it works fine.  I get no errors and see the 
zone as it is defined on the tinydns server.


Now, I am not sure where that leaves me since I am illiterate when it 
comes to reading php scripts.

-Bob


Re: [users] axfr issues

2005-11-09 Thread Jason S
On 11/8/05, Bob Ababurko <[EMAIL PROTECTED]> wrote:
Is there any reason that the axfr would not work for me?  I have theaxfr running on the same IP as I do tinydns.  I can do a dnsq of thedomain that I want to transfer using 'soa domain tinydns/axfr_IP' and itworks fine showing that the domain is set up ok.  I have the tcp file
set up with: :allow,AXFR="ricochetmarketing.com"When i go to import the domain via the gui, I get:Error: could not do axfr-get for 
ricochetmarketing.comI do not know what else I can do.  I actually do not see anything in thelogs of the axfrdns server.  I am thinking that something may not beworking right with the vegadns host.  When I try to run ' tcpclient -v
-H -R 24.75.44.210 53 axfr-get ricochetmarketing.com zone zone.tmp', Iget the zone downloaded without a problem.Anyone have any suggestions?
-BobI think Vegadns is running this command when you try to do axfr from the gui (line 565 in src/domains.php).

wget -q -O - '$vegadns_url/axfr_get.php?domain=$domain&hostname=".$_REQUEST['hostname']."'

Try running that from the command line (substituting actual values) and
see if it gives you any more clues as to what could be happening.

-- Jason[EMAIL PROTECTED]


[users] axfr issues

2005-11-08 Thread Bob Ababurko
Is there any reason that the axfr would not work for me?  I have the 
axfr running on the same IP as I do tinydns.  I can do a dnsq of the 
domain that I want to transfer using 'soa domain tinydns/axfr_IP' and it 
works fine showing that the domain is set up ok.  I have the tcp file 
set up with: :allow,AXFR="ricochetmarketing.com"


When i go to import the domain via the gui, I get:

Error: could not do axfr-get for ricochetmarketing.com

I do not know what else I can do.  I actually do not see anything in the 
logs of the axfrdns server.  I am thinking that something may not be 
working right with the vegadns host.  When I try to run ' tcpclient -v 
-H -R 24.75.44.210 53 axfr-get ricochetmarketing.com zone zone.tmp', I 
get the zone downloaded without a problem.


Anyone have any suggestions?

-Bob