Find the answer to your Linux question:
Results 1 to 7 of 7
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    whois database returns connection refused


    Hi all,

    whois command on linux shell usually works fine and returns output. But when I give this particular address page it returns connection refused:

    Code:
    jake(at)jpc:~$ whois bolt.cd
    connect: Connection refused
    Why is that so? Does it work for you?


    thx

  2. #2
    Just Joined!
    Join Date
    Oct 2017
    Posts
    37
    Name server at 46.166.165.18 is refusing queries via TCP ... so whois the IP:

    $ whois 46.166.165.18
    % This is the RIPE Database query service.
    % The objects are in RPSL format.
    %
    % The RIPE Database is subject to Terms and Conditions.
    % See http://www.ripe.net/db/support/db-terms-conditions.pdf

    % Note: this output has been filtered.
    % To receive output for a database update, use the "-B" flag.

    % Information related to '46.166.165.0 - 46.166.165.255'

    % Abuse contact for '46.166.165.0 - 46.166.165.255' is 'abuse@cherryservers.com'

    inetnum: 46.166.165.0 - 46.166.165.255
    netname: BALTICSERVERS-LT-DEDICATED
    descr: Dedicated servers
    country: LT
    admin-c: MS33333-RIPE
    tech-c: MS33333-RIPE
    status: ASSIGNED PA
    mnt-by: DUOMENUCENTRAS-MNT
    created: 2015-03-03T07:17:00Z
    last-modified: 2015-03-03T07:17:00Z
    source: RIPE

    person: Martynas Simkevicius
    address: Tilzes 74
    address: LT-76140 Siauliai
    phone: +37070005030
    nic-hdl: MS33333-RIPE
    mnt-by: DUOMENUCENTRAS-MNT
    created: 2012-08-21T11:54:54Z
    last-modified: 2017-10-30T22:21:22Z
    source: RIPE # Filtered
    remarks: *************************************************
    remarks: * For spam/abuse/security issues please contact *
    remarks: * =======> abuse@cherryservers.com <======= *
    remarks: *************************************************

    % Information related to '46.166.160.0/21AS16125'

    route: 46.166.160.0/21
    descr: CHERRY SERVERS
    origin: AS16125
    mnt-by: DUOMENUCENTRAS-MNT
    created: 2014-05-07T07:38:43Z
    last-modified: 2017-05-09T13:23:58Z
    source: RIPE

    % This query was served by the RIPE Database Query Service version 1.90 (BLAARKOP)

  3. #3
    Linux Guru Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    2,185
    I'm using my own DNS.
    Code:
    $ whois bolt.cd
    % IANA WHOIS server
    % for more information on IANA, visit http://www.iana.org
    % This query returned 1 object
    
    domain:       CD
    
    organisation: Office Congolais des Postes et TÚlÚcommunications - OCPT
    address:      95, Boulevard du 30 Juin
    address:      Immeuble INSS, 1ier Etage
    address:      Gombe
    address:      Kinshasa  7070 Kin 1
    address:      Congo, The Democratic Republic Of The
    ...

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Dec 2013
    Posts
    2,747
    Quote Originally Posted by tether View Post
    Code:
    jake(at)jpc:~$ whois bolt.cd
    connect: Connection refused
    same for me.


    Quote Originally Posted by Segfault View Post
    organisation: Office Congolais des Postes et TÚlÚcommunications - OCPT
    hmm. is that fishy or official?

  6. #5
    Linux Guru Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    2,185
    Don't know. There is something going on. http://www.nic.cd/nic.cd/ Full output of whois here:
    Code:
    % IANA WHOIS server
    % for more information on IANA, visit http://www.iana.org
    % This query returned 1 object
    
    domain:       CD
    
    organisation: Office Congolais des Postes et TÚlÚcommunications - OCPT
    address:      95, Boulevard du 30 Juin
    address:      Immeuble INSS, 1ier Etage
    address:      Gombe
    address:      Kinshasa  7070 Kin 1
    address:      Congo, The Democratic Republic Of The
    
    contact:      administrative
    name:         David KINSAKA NDUENGA
    organisation: SCPT
    address:      95, Boulevard du 30 Juin
    address:      Commune de la Gombe
    address:      Kinshasa  7070 Kin 1
    address:      Congo, The Democratic Republic Of The
    phone:        +243 81 063 8578
    e-mail:       david.k@ocpt.cd
    
    contact:      technical
    name:         Jaco Lesch
    organisation: Office Congolais des Postes et TÚlÚcommunications - OCPT
    address:      95, Boulevard du 30 Juin
    address:      Immeuble INSS, 1ier Etage
    address:      Gombe
    address:      Kinshasa  7070 Kin 1
    address:      Congo, The Democratic Republic Of The
    phone:        +243 81 806 88 89
    e-mail:       jacol@openserve.co.za
    
    nserver:      IGUBU.SAIX.NET 196.25.1.1 2c0e:2001:4000:1:0:0:c419:101
    nserver:      NS-ROOT-1.SCPT-NETWORK.COM 41.79.235.66
    nserver:      NS-ROOT-2.SCPT-NETWORK.COM 41.79.235.67
    nserver:      NS-ROOT-5.SCPT-NETWORK.COM 92.222.179.91
    nserver:      SABELA.SAIX.NET 196.43.1.9 2c0e:2001:0:1:0:0:c42b:109
    nserver:      SANGOMA.SAIX.NET 196.25.1.9 2c0e:2001:4000:1:0:0:c419:109
    
    status:       ACTIVE
    remarks:      Registration information: http://www.nic.cd/
    
    created:      1997-08-20
    changed:      2017-09-07
    source:       IANA
    Last edited by Segfault; 01-14-2018 at 01:08 PM.

  7. #6
    Looks like CONIC failed to do its duty thus it is not listed as registrar. And for some reason whois database is missing the record for bolt.cd

  8. #7
    Linux Newbie sarlacii's Avatar
    Join Date
    May 2005
    Location
    South Africa
    Posts
    223
    -->
    Depending on what name servers you have setup in your config, it's possible that your one may be down. As such the request will not be referred... but other people will be able to get the records just fine, as they are using completely different name servers to break out of their network. So also check your DNS entries, and then check that your name server is up - can use TCP ping. Also, if you have an alternative DNS server available on your network, try loading that manually into your config just to test (even though /etc/resolv.conf gets overwritten etc.).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •