Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Nominet general DAC question

Status
Not open for further replies.
Joined
Jun 16, 2005
Posts
441
Reaction score
9
general DAC question from non TAG holder..
ok.. before i spend thousands of $$ on memberships & code monkeys etc..

how do you query the DAC :confused: the instructions for use on Nominets website are a bit vague..

do you query the same way as whois? nominet mention connection to specific port on dac.nic.uk... what are you presented with on connection?

could I query it from command line on a unix box?? would I just change my whois server to dac.nic.uk & query as normal??

any feedback appreciated..

cheers
 
Last edited:
stevie said:
general DAC question from non TAG holder..
ok.. before i spend thousands of $$ on memberships & code monkeys etc..

how do you query the DAC :confused: the instructions for use on Nominets website are a bit vague..

do you query the same way as whois? nominet mention connection to specific port on dac.nic.uk... what are you presented with on connection?

could I query it from command line on a unix box?? would I just change my whois server to dac.nic.uk & query as normal??

any feedback appreciated..

cheers

You can query the DAC with any application that can open connections ie Perl, PHP, Bash, C++ etc etc..

Example in PHP you could open a connection with fsockopen..

http://uk.php.net/manual/en/function.fsockopen.php

or CURL..

http://uk.php.net/manual/en/ref.curl.php

ie

curl_setopt($ch, CURLOPT_URL, 'http://dac.nic.uk:2043');

then you send it a query in the form of a domain..

curl_setopt($ch, CURLOPT_POSTFIELDS, "music.co.uk\r\n");

and it replies back with something like..

music.co.uk,Y,N,N,1996-07-30,2006-07-30,1


"could I query it from command line on a unix box?"

Yep if you wrote your app in Bash, Perl or PHP.. then just run it from the command line like any other script..

php ./dac-script.php
 
aquanuke said:
You can query the DAC with any application that can open connections ie Perl, PHP, Bash, C++ etc etc..

Example in PHP you could open a connection with fsockopen..

http://uk.php.net/manual/en/function.fsockopen.php

or CURL..

http://uk.php.net/manual/en/ref.curl.php

ie

curl_setopt($ch, CURLOPT_URL, 'http://dac.nic.uk:2043');

then you send it a query in the form of a domain..

curl_setopt($ch, CURLOPT_POSTFIELDS, "music.co.uk\r\n");

and it replies back with something like..

music.co.uk,Y,N,N,1996-07-30,2006-07-30,1


"could I query it from command line on a unix box?"

Yep if you wrote your app in Bash, Perl or PHP.. then just run it from the command line like any other script..

php ./dac-script.php

cheers for the reply aquanuke... sounds fine.. just wanted to be sure I could run test scripts from my lab server at home..

cheers steve
 
Working example

My scripts a bit P*?s poor. Does anyone have a good example of a script to check a domain availability ?
 
BTW - Who's best ?

What's the record on domain name's caught in the last 12 months - who here is best at it ?

I guess though that quality counts more than quantity - be pretty easy to catch prosiectgolfanodymynyddsirsaerfyrddin.com or would that be a popular domain ?
 
I'd mis-spell it.

Anyway, i've got a joke just right for this thread:

Two tourists were driving through Wales. At Llanhyfryddawelllehynafolybaarcudprindanfygy, they stopped for lunch and asked the waitress: "before we order could you settle an argument for us..., and pronounce where we are very slowly.

The waitress leans over and says "Buurrrr... Guuurrrr... Kiiinnng. :cool:
 
ratboy said:
I'd mis-spell it.

Anyway, i've got a joke just right for this thread:

Two tourists were driving through Wales. At Llanhyfryddawelllehynafolybaarcudprindanfygy, they stopped for lunch and asked the waitress: "before we order could you settle an argument for us..., and pronounce where we are very slowly.

The waitress leans over and says "Buurrrr... Guuurrrr... Kiiinnng. :cool:

lol.....i like that.. i'll nick it if you don't mind :D
 
Status
Not open for further replies.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom