You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validate the fields and give warnings when validations fail.
In particular:
validate the hostname field by looking in the DNS for an A or AAAA record.
give a warning
on a device with no routable IPv6 address, give a warning if the hostname has no A record,
on a device with no routable IPv4 address, give a warning if the hostname has no AAAA record
validate the port number field as being a positive 16-bit integer (between 1 and 65535).
Among other things, this will detect the case where people try to put a URI instead of a hostname (as exemplified by #328).
Future enhancement: also permit a name that (when prefixed by _irc._tcp. or _ircs._tcp) has a DNS SRV record. (This would require additional logic when connecting.)
These give a list of priority, weight, hostname, port tuples:
Validate the fields and give warnings when validations fail.
In particular:
A
orAAAA
record.A
record,AAAA
recordAmong other things, this will detect the case where people try to put a URI instead of a hostname (as exemplified by #328).
Future enhancement: also permit a name that (when prefixed by
_irc._tcp.
or_ircs._tcp
) has a DNSSRV
record. (This would require additional logic when connecting.)These give a list of priority, weight, hostname, port tuples:
The text was updated successfully, but these errors were encountered: