Problem from add new project oauth2 google drive

I would like some help where I am carrying out a configuration and at the end after accepting it on the Google platform etc... it gives me this error

2025/06/23 18:27:37 NOTICE: Log in and authorize rclone for access
2025/06/23 18:27:37 NOTICE: Waiting for code...
2025/06/23 18:28:04 NOTICE: Got code
Error: failed to get token: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 127.0.0.1:53: server misbehaving

welcome to the forum,

maybe a dns issue?

can you try this

ping oauth2.googleapis.com
PING oauth2.googleapis.com(lf-in-f95.1e100.net (2a00:1450:4010:c07::5f)) 56 data bytes
64 bytes from lf-in-x5f.1e100.net (2a00:1450:4010:c07::5f): icmp_seq=1 ttl=110 time=4.54 ms