FAQ / Routing to remote hosts / Q0321
| /Q0301 /Q0302 /Q0303 /Q0304 /Q0305 /Q0306 /Q0307 /Q0308 /Q0309 /Q0310 /Q0311 /Q0312 /Q0313 /Q0314 /Q0315 /Q0316 /Q0317 /Q0318 /Q0319 /Q0320 /Q0321 /Q0322 |
Q0321
Question
How can I tell an Exim router to use only IPv4 or only IPv6 addresses when it finds both types in the DNS?
Answer
You can do this by making it ignore the addresses you don't want. This example ignores all IPv6 addresses and all IPv4 addresses in the 127 network:
ignore_target_hosts = <; 0000::0000/0 ; 127.0.0.0/8
To ignore all IPv4 addresses, use
ignore_target_hosts = 0.0.0.0/0
See ../Q0319 for a general discussion of ignore_target_hosts.
| /Q0301 /Q0302 /Q0303 /Q0304 /Q0305 /Q0306 /Q0307 /Q0308 /Q0309 /Q0310 /Q0311 /Q0312 /Q0313 /Q0314 /Q0315 /Q0316 /Q0317 /Q0318 /Q0319 /Q0320 /Q0321 /Q0322 |
FAQ / Routing to remote hosts / Q0321
