If you're using HTTP, the DNS will be the same IP you're using. If you selected socks5, it will be local DNS.
When you use the HTTP protocol, DNS resolution will use the DNS server corresponding to the IP you are using. This means that when you send an HTTP request, the operating system will use the DNS servers in your configured network settings to resolve the hostname to obtain the IP address of the target server. Therefore, the IP address and DNS server you are using will be the same.
However, things are different when you choose to use a SOCKS5 proxy. The SOCKS5 proxy will establish a proxy server locally, and your network requests will be forwarded through the proxy. In this case, DNS resolution will be handled by the local DNS server, not by the DNS server in your configured network settings.