cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
204
Views
0
Helpful
1
Replies

FetchStats Script on a Mac

restored147
Community Member

I've downloaded the script and found instructions elsewhere on how to actually run it (there were no instructions in the ReadMe for Mac on how to RUN the script!) - I've managed to turn the script into an executable and when I go into Terminal and type in:

./dnsreport

It then says:

Usage: ./dnsreport <username> <network_id> <YYYY-MM-DD> [<YYYY-MM-DD>]

Is this telling me I should be entering this command as:

 ./dnsreport <username> <network_id> <YYYY-MM-DD> [<YYYY-MM-DD>]

 

I tried putting in my info in place of the variables and it then says:

-bash: .dnsreport: command not found

 

Is this the proper format?

.dnsreport myemail@email.com my.network.ip.address 2016-05-25 [2016-06-02]

1 Reply 1

cobalt-phoenix
Level 3
Level 3
  • ".dnsreport: command not found" indicates that you didn't enter ./dnsreport - but .dnsreport
  • Username is correct, but you may need to replace @ by %40 or even \%40 in case it doesn't work with @.
  • Network ID is numeric and not an IP address.  You can find it by looking at your DNS stats URLs or network settings URLs.
  • Do not use [ and ].  This indicates only that the second date is optional in case you want to fetch a range of dates instead of a single date.