I have found that the p4p gateway always does DNS lookups for host names given in host access groups.
I see that this is more secure than it was with EPICS 3.15 and channel access, where the gateway relied on the host name the client provided, since the client could easily fake this.
However, at our facility, the BESSY II Storage Ring at the Helmholtz-Zentrum Berlin we currently use EPICS 3.15 with it's simple host name matching and have additional security by the many networks with separate gateways. We currently do not need to add every new PC or notebook at the beamline to our DNS system or assign fixed IP numbers. Adding the host name the new PC is configured with to our configuration is sufficient.
Would it be possible to add a switch to the PVAccess gateway so it does not do DNS name lookups and simply compares the host name provided by the client, just as the CA-Gateway with EPICS 3.15 did ?