Glossary

Proxy Auto-Configuration (PAC) (Proxy Auto-Configuration (PAC))

Proxy Auto-Configuration uses a JavaScript function to decide whether a browser request goes directly to its destination or through a proxy. A PAC file selects a route; it does not itself operate a proxy server.

Explanation

A decision function, not a list of exit addresses

MDN describes a PAC file as containing FindProxyForURL, which evaluates a request’s URL and host. It can return a direct route or a proxy entry according to its rules. The chosen entry still needs to be reachable and support the required protocol and authentication.

Distinguish policy selection from successful delivery

In an illustrative managed browser deployment, internal resources can be assigned a direct path while external resources use an approved proxy. The rule makes a selection; it does not establish that the selected path completed a request. Test representative authorized destinations and inspect the effective route.

Do not assume all programs read the same file

PAC is a browser-related configuration mechanism. A separate HTTP library may instead use explicit proxy settings or environment variables. The presence of a PAC URL in one browser does not establish system-wide behavior, and an export of browser settings is not automatically a valid application proxy configuration.

Track the actual configuration in diagnostics

Record which PAC file and rules were active during a failure, then separate rule evaluation from entry reachability and target response. Avoid publishing sensitive internal routing details. A stale or mismatched policy can select an unintended path even when the destination and proxy are individually reachable.

Related concepts

References

Sources checked on November 19, 2026. Examples illustrate concepts and are not proxy-service measurements.

Frequently Asked Questions

QIs PAC a new proxy protocol?
A

No. It selects a route for supported clients; the chosen proxy still uses its own communication protocol.

QDoes a PAC file guarantee automatic IP rotation?
A

No. Choosing an entry does not specify how that service allocates outbound addresses.

QCan a Python process be assumed to use my browser’s PAC?
A

No. Verify that process’s client library and configuration; browser behavior is not proof of application behavior.

Further Reading
Continue with the latest news and practical guides.