On 4/12/23 2:11 AM, Randy Bush via db-wg wrote:
> i just want to fetch the domain object
>
Just the domain object, not the person object? Add " -r" to your query:
telnet whois.ripe.net 43
Trying 2001:67c:2e8:22::c100:687...
Connected to whois.ripe.net.
Escape character is '^]'.
% 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
-r 150.180.198.in-addr.arpa
% Note: this output has been filtered.
% To receive output for a database update, use the "-B" flag.
% Information related to '150.180.198.in-addr.arpa'
domain: 150.180.198.in-addr.arpa
descr: RG79-198-180-151
admin-c: RB45695-RIPE
tech-c: RB45695-RIPE
zone-c: RB45695-RIPE
nserver: rip.psg.com
nserver: nlns.globnix.net
ds-rdata: 54446 8 2
3b1fdae94f0e47d280e23ad1b62fb1451d98f29f66863420d6a3d0f5fa2f1037
mnt-by: MAINT-RGNET
created: 2016-03-16T18:42:51Z
last-modified: 2023-04-07T16:00:58Z
source: RIPE
% This query was served by the RIPE Database Query Service version 1.106
(ABERDEEN)
Connection closed by foreign host.
> [ actually, what i would love is to fetch all domain objects with
> mnt-by: MAINT-RGNET
Inverse queries ("-i") to the rescue!
-r -T domain -i mnt-by MAINT-RGNET
will return all your 22 domain objects without repeating the person
object 22 times.
Cheers,
-- Rene
but one step at a time ]
ryuu.rg.net:/Users/randy> telnet -4 whois.ripe.net 43
Trying 193.0.6.135...
Connected to whois.ripe.net.
Escape character is '^]'.
% 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
-T domain 150.180.198.in-addr.arpa
% Note: this output has been filtered.
% To receive output for a database update, use the "-B" flag.
% Information related to '150.180.198.in-addr.arpa'
domain: 150.180.198.in-addr.arpa
descr: RG79-198-180-151
admin-c: RB45695-RIPE
tech-c: RB45695-RIPE
zone-c: RB45695-RIPE
nserver: rip.psg.com
nserver: nlns.globnix.net
ds-rdata: 54446 8 2
3b1fdae94f0e47d280e23ad1b62fb1451d98f29f66863420d6a3d0f5fa2f1037
mnt-by: MAINT-RGNET
created: 2016-03-16T18:42:51Z
last-modified: 2023-04-07T16:00:58Z
source: RIPE
person: Randy Bush
address: RGnet OÜ
address: Sakala tn 7-2
address: Tallinn
address: EE-10141
address: Estonia
phone: +33 7 67 97 33 30
nic-hdl: RB45695-RIPE
mnt-by: MAINT-RGNET
created: 2019-05-20T12:22:32Z
last-modified: 2019-12-12T06:06:38Z
source: RIPE
% This query was served by the RIPE Database Query Service version 1.106
(BUSA)
Connection closed by foreign host.
so maybe it wants the option at the end?
ryuu.rg.net:/Users/randy> telnet -4 whois.ripe.net 43
Trying 193.0.6.135...
Connected to whois.ripe.net.
Escape character is '^]'.
% 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
230.83.192.in-addr.arpa -T domain
% Note: this output has been filtered.
% To receive output for a database update, use the "-B" flag.
% Information related to '230.83.192.in-addr.arpa'
domain: 230.83.192.in-addr.arpa
descr: RG79-192-83-230
admin-c: RB366-ARIN
tech-c: RB366-ARIN
zone-c: RB366-ARIN
nserver: rip.psg.com
nserver: nlns.globnix.net
ds-rdata: 142 8 2
1e1f841e69f79afa0c6775647e90597c88dbe7121867473700b7a51c358d9045
mnt-by: MAINT-RGNET
created: 2016-03-16T18:42:51Z
last-modified: 2016-03-16T18:42:51Z
source: RIPE
person: Randy Bush
address: RGnet, LLC
address: 5147 Crystal Springs
address: Bainbridge Island, WA 98110
address: United States
phone: +1 206 356 8341
fax-no: +1 206 973 2762
nic-hdl: RB366-ARIN
mnt-by: MAINT-RGNET
created: 1970-01-01T00:00:00Z
last-modified: 2019-12-12T06:03:49Z
source: RIPE # Filtered
% This query was served by the RIPE Database Query Service version 1.106
(SHETLAND)
Connection closed by foreign host.
clue bat appreciated
randy
--
To unsubscribe from this mailing list, get a password reminder, or change your
subscription options, please visit:
https://lists.ripe.net/mailman/listinfo/db-wg