Deprecated: Creation of dynamic property Timber\Site::$pingback is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Site.php on line 180

Deprecated: Creation of dynamic property Timber\User::$name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/User.php on line 118

Deprecated: Creation of dynamic property Timber\Post::$has_disclaimer is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_edit_lock is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_edit_last is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_meta_box_present is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_send_notification is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_modify_title_and_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_heading is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$onesignal_notification_custom_content is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_tipologia is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_attributi is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_in_evidenza_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_inviato_in_newsletter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_category is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_blz_affiliation_attributes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_content_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_attributes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_primary_speciali is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_focuskw is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_linkdex is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_content_score is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_focuskeywords is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_keywordsynonyms is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_estimated-reading-time-minutes is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_wpseo_metadesc is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_thumbnail_id is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$response_body is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_yoast_indexnow_last_ping is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$newsletter_subject is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_newsletter_subject is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$newsletter_summary is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$_newsletter_summary is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_date_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$ping_status is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_password is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_name is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$to_ping is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$pinged is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_modified_gmt is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_content_filtered is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$guid is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$menu_order is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$post_mime_type is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$comment_count is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71

Deprecated: Creation of dynamic property Timber\Post::$filter is deprecated in /var/www/html/web/app/themes/ilsoftware/vendor/timber/timber/lib/Core.php on line 71
Cambiare DNS Windows 10: si può con un solo comando | IlSoftware.it

Cambiare DNS Windows 10: si può con un solo comando

Sveliamo com'è possibile cambiare DNS in Windows 10, aumentando velocità di navigazione, sicurezza e consentendo l'accesso a contenuti bloccati, con un solo comando PowerShell.

I server DNS ricoprono un ruolo cruciale nella traduzione degli indirizzi Web in IP. Ogni volta che si digita un indirizzo come google.it o ilsoftware.it, il sistema DNS permette di recuperare l’indirizzo IP del server sul quale è ospitato il sito di proprio interesse. Utilizzare DNS più performanti o capaci di offrire funzionalità in più rispetto a quelli del proprio provider Internet, può fare una notevole differenza. Cambiare DNS in Windows 10 può rivelarsi una soluzione utile per migliorare la velocità di navigazione, aumentare la sicurezza online o accedere a contenuti bloccati nella propria area geografica.

La procedura per cambiare DNS è rimasta inalterata anche in Windows 10. Tuttavia, Microsoft sta spingendo per l’utilizzo della schermata Rete e Internet contenuta nelle impostazioni del sistema operativo. Chi è un utente storico di Windows, può trovare oggettive difficoltà nell’individuare la sezione delle impostazioni attraverso la quale risulta possibile cambiare DNS.

Fortunatamente, si può accedere alla vecchia interfaccia per modificare i DNS in Windows 10 premendo Windows+R, digitando ncpa.cpl, cliccando il tasto destro sull’interfaccia di rete in uso quindi scegliendo Proprietà. Come passo finale, basta fare riferimento a Protocollo Internet versione 4 e Protocollo Internet versione 6, cliccando sul pulsante Proprietà.

Impostazione DNS Windows 10

Come cambiare DNS Windows 10 con un solo comando

Un aspetto forse poco noto è che si può richiedere la modifica del DNS utilizzato in Windows 10 con un solo comando, senza perdersi tra le impostazioni del sistema operativo.

Utilizzando la finestra che appare digitando ncpa.cpl, come visto in precedenza, si deve innanzi tutto annotare il nome dell’interfaccia di rete per la quale si desiderano modificare le impostazioni. Di solito si trova Ethernet come nome dell’interfaccia quando si usa un collegamento via cavo; Wi-Fi se ci si serve di un collegamento wireless con il router.

Va tenuto presente che ogni interfaccia di rete indicata nella finestra Connessioni di rete, può avere le sue specifiche impostazioni DNS.

Cambiare DNS Windows 10

Premendo Windows+X, scegliendo Windows PowerShell (amministratore), quindi usando il comando che segue, si può cambiare DNS senza compiere nessun altro intervento:

Set-DnsClientServerAddress -InterfaceA "Wi-Fi" -ServerA "1.1.1.1","1.0.0.1"

Al posto di Wi-Fi, va indicato il nome dell’interfaccia di rete. Mentre 1.1.1.1 e 1.0.0.1, vanno eventualmente sostituiti con i server DNS che si vogliono utilizzare.

Nell’esempio, 1.1.1.1 e 1.0.0.1 sono i DNS Cloudflare generici. Cloudflare, come altri provider, offrono poi DNS più specializzati in grado di bloccare malware e contenuti per adulti.

Cambiare DNS in Windows 10 con PowerShell

Come ripristinare la configurazione DNS predefinita in Windows 10

Windows 10, così come gli altri sistemi operativi Windows, di default imposta le interfacce di rete in maniera tale che ciascuna di esse riceva automaticamente indicazione sui server DNS da utilizzare da parte del router o più in generale del server DHCP presente nella rete locale.

Sempre ricorrendo a PowerShell, si può usare un comando che permette di ripristinare la configurazione DNS predefinita (opzione Ottieni indirizzo server DNS automaticamente nelle impostazioni dell’interfaccia di rete specificata).

Per procedere in tal senso, basta aprire una finestra PowerShell in Windows 10 (Windows+X, Windows PowerShell amministratore) quindi digitare quanto segue:

Set-DnsClientServerAddress -InterfaceA "Wi-Fi" -Reset

L’indicazione Wi-Fi, al solito, deve essere sostituita con il nome dell’interfaccia di rete desunto dalla finestra ncpa.cpl.

Controllare quali server DNS sono in uso in Windows

In entrambi i casi, prima e dopo l’utilizzo dei comandi PowerShell, si può impartire l’istruzione ipconfig /all per verificare gli indirizzi dei server DNS effettivamente in uso. Essi compaiono accanto alla voce Server DNS (verificare quali dati si riferiscono all’interfaccia di rete di proprio interesse).

Server DNS Windows 10

Credit immagine in apertura: iStock.com – Supatman

Ti consigliamo anche

Link copiato negli appunti