|
Class: NameResolver
Object
|
+--NameResolver
- Package:
- stx:goodies/communication
- Category:
- Net-Communication-DNS
- Version:
- rev:
1.15
date: 2022/10/17 08:40:22
- user: stefan
- file: NameResolver.st directory: goodies/communication
- module: stx stc-classLibrary: communication
no warranty; provided AS-IS
code ported from squeak
copyrightCOPYRIGHT (c) 2006 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
accessing
-
default
-
constants
-
connectionTimeout
-
accessing
-
servers
-
-
servers: aCollection
-
resolving
-
addressByName: hostName
-
Example (put the address of a name server):
NameResolver default servers: #('fritz.box')
NameResolver default servers: #([172 23 1 216])
NameResolver default servers: #([8 8 8 8]).
NameResolver default addressByName: 'squeak.org'
NameResolver default addressByName: 'www.web.de'
NameResolver default addressByName: 'xxx.fasel'
NameResolver default addressByName: 'x234rtzoifjelfvljjg.de'
-
addressesByName: hostName
-
Example (put the address of a name server):
NameResolver default servers: #('fritz.box')
NameResolver default servers: #([172 23 1 216])
NameResolver default servers: #([8 8 8 8]).
NameResolver default addressesByName: 'xmpp.exept.de'
NameResolver default addressesByName: 'squeak.org'
NameResolver default addressesByName: 'www.web.de'
NameResolver default addressesByName: 'www.google.com'
NameResolver default addressesByName: 'xxx.fasel'
-
mailExchangerFor: domain
-
Example (put the address of a name server):
NameResolver default servers: #('fritz.box')
NameResolver default servers: #([172 23 1 216])
NameResolver default servers: #([8 8 8 8]).
NameResolver default mailExchangerFor: 'squeak.org'
NameResolver default mailExchangerFor: 'web.de'
-
mailExchangersFor: domain
-
Example (put the address of a name server):
NameResolver default servers: #('fritz.box')
NameResolver default servers: #([172 23 1 216])
NameResolver default servers: #([8 8 8 8]).
NameResolver default mailExchangersFor: 'squeak.org'
NameResolver default mailExchangersFor: 'web.de'
NameResolver default mailExchangersFor: 'exept.de'
NameResolver default mailExchangersFor: 'xxxx.exept.de'
NameResolver default mailExchangersFor: 'xxxx.fasel'
-
nameServersFor: domain
-
Example (put the address of a name server):
NameResolver default servers: #('fritz.box')
NameResolver default servers: #([172 23 1 216])
NameResolver default servers: #([8 8 8 8]).
NameResolver default nameServersFor: 'squeak.org'
NameResolver default nameServersFor: 'web.de'
-
reverseLookup: address
-
-
serverFor: domain
-
Example (put the address of a name server):
NameResolver default servers: #('fritz.box')
NameResolver default servers: #([192 168 23 1])
NameResolver default servers: #([172 23 1 216])
NameResolver default servers: #([8 8 8 8]).
NameResolver default serverFor: '_xmpp-client._tcp.exept.de'
-
serversFor: domain
-
Example (put the address of a name server):
NameResolver default servers: #('fritz.box')
NameResolver default servers: #([172 23 1 216])
NameResolver default servers: #([8 8 8 8]).
NameResolver default serversFor: '_xmpp-server._tcp.exept.de'.
NameResolver default serversFor: '_xmpp-client._tcp.exept.de'.
NameResolver default serversFor: '_xmpp-client._tcp.google.com'
resolving-private
-
request: aDNSMessage
-
-
sendRequest: aDNSMessage
-
-
sendRequest: request server: server
-
testing
-
hasServer
-
NameResolver default servers: #( [192 168 23 1] ).
NameResolver default servers: #( [172 23 1 216] ).
NameResolver default servers: #( 'exeptn.bh.exept.de' ).
NameResolver default servers: #( 'fritz.box' ).
NameResolver default addressByName: 'imap.exept.de'.
NameResolver default addressByName: 'google.com'.
NameResolver default addressesByName: 'google.com'.
NameResolver default addressByName: 'x2xxxxxxxxxxxxxxxxxxxx.org'
NameResolver default addressByName: 'ipv6.google.com'
|