-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTODO
67 lines (55 loc) · 2.26 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# TODO list
## Core library issues
* socket: decouple event processing from query
* query: allow multiple reverse names
## Features
* Improve path ordering
- use rules from http://tools.ietf.org/html/rfc6724
- use /etc/gai.conf
* Allow backend list setting at any time or at least check whether they can be changed
* Read a configuration file in `/etc/netresolve` in addition to environment variables
* Consider using -fvisibility=hidden
* Consider using a separate libnetresolve-backend.so
## Frontends, integration and testing
* Extend the libc API frontend
- `getaddrinfo_a()`, `gai_suspend()`, `gai_error()` and `gai_cancel()` (glibc specific)
* Implement more frontends
- the getdns API frontend
* Integrate with more event loops/connectors
- libverto
- Python PEP 3156
- libsystemd
- and more...
* Build a fake ares/libunbound library to support DNS testing
* A comprehensive dualstack test plan
- DNS: AAAA wildcard search available, only global A record set
- DNS: AAAA record not answered, A answered (and vice versa)
- DNS: SRV not answered, A/AAAA answered
- TCP: IPv6/SYN not answered, IPv4 SYN answered (and vice versa)
- TCP: first IPv6/SYN not answered, second IPv6/SYN answered (the same for IPv4)
- TCP: IPv6-only destination, first address not answered, next address works
- TCP: first SYN answered, application layer failure, next address works
- UDP: application layer failure, next address works
## Backends
* Improve `nss` backend
- support `/etc/nsswitch` configuration
- consider supporting hostent listing
* Improve the DNS backends
- consider domain search support
- consider `ai_addrconfig`-like functionality
* Fix `exec` backend
- it hasn't been tested recently
- fix the code, extend the format
- add automated tests
* Implement more backends
- nonblocking systemd-resolved based backend (blocking mode available via nss-resolve)
- standalone nonblocking LLMNR backend
- the getdns API backend
## Portability
* Support non-timerfd platforms
- pass timeout creation and removal request to the application/connector
## Documentation and non-development stuff
* Website
* Manpages
* Provide fixes for glibc resolver
* IETF notes, errata and drafts