Parrot os internet not working properly

I install parrot os latest security version but my internet is not work virtual i set NAT network connection.but it doesn’t work properly i can’t browse anything or can’t download any package but when i am switch NAT to bridge network connection that time i can browse internet but can’t download/update any package on terminal.But another interesting thing is when i enable anonymous mode than i can browse and also download /update any package.but when i turn off anonymous mode then it will again not work.why it is happening.i already configure dns /etc/resolvconf
Server and others like also try but didn’t work anything.please can anyone help i can overcome this