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 <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]>


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]

Reply via email to