• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Problema DNS in Windows

Italiano
2
21
1.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    senseiluke
    last edited by senseiluke Nov 20, 2020, 11:53 AM Nov 20, 2020, 11:52 AM

    Ciao,
    Ho sia pfsense che windows 10 installati sotto Proxmox come Virtual machine. Oggi ho cambiato il disco alla mia macchina proxmox dove giravano le VM, ho reinstallato tutto (tramite restore del backup delle immagini degli OS) e riavviando windows mi ritrovo adesso con un problema di DNS (sempre loro!!). Pfsense ovviamente fa sia da dhcp che da server DNS per le macchine virtuali in proxmox e in verità anche per quelle fisiche secondo questo schema:

    alt text

    Niente di trascendentale, ma funzionava tutto prima della sostituzione dell'HDD con un SSD.
    Se faccio un ping da window 10 tipo:
    ping 8.8.8.8 ottengo risposta
    se avvio un nslookup ottengo invece:

    alt text

    Provo quindi ad impostare i dns manulmente in windows (8.8.8.8 e 8.8.4.4)

    ma nslookup fallisce ancora:

    alt text

    Potete aiutarmi a capire cosa è successo?
    Grazie

    1 Reply Last reply Reply Quote 0
    • K
      kiokoman LAYER 8
      last edited by Nov 20, 2020, 1:57 PM

      controlla che il servizio dns resolver sia attivo su pfsense
      controlla il firewall per la porta 53

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      S 1 Reply Last reply Nov 20, 2020, 2:13 PM Reply Quote 0
      • S
        senseiluke @kiokoman
        last edited by senseiluke Nov 20, 2020, 2:25 PM Nov 20, 2020, 2:13 PM

        @kiokoman said in Problema DNS in Windows:

        controlla che il servizio dns resolver sia attivo su pfsense
        controlla il firewall per la porta 53

        1. si è attivo. C'è il segno di spunta verde per unbound tra i servizi in services status

        2. ho disabilitato una regola di dns redirect, ma non è cambiato niente.

        Senti che strano caso.
        Ho poi provato sul mio microtik a cui è collegato pure proxmox e di conseguenza le VM interne tra cui pfsense, a disabilitare la porta wan e a collegarci in thetering usb il mio cell..all'improvviso da Windows riesco a navigare e fare i nslookup?
        Come mai?
        a proposito pfsense di per se riesce a fare il dns lookup con qualsiasi linea intenet.....molto strano davvero.
        Grazie

        1 Reply Last reply Reply Quote 0
        • S
          senseiluke
          last edited by Nov 20, 2020, 4:22 PM

          confermo che collegando il cell funziona tutto.
          Ho avviato anche la VM linux che ho in proxmox e stesso problema.
          Collego il cell in tehtering al Microtik e tutto funziona.
          REsta da capire come risolvere questo problema ora.
          Grazie

          1 Reply Last reply Reply Quote 0
          • K
            kiokoman LAYER 8
            last edited by kiokoman Nov 20, 2020, 4:47 PM Nov 20, 2020, 4:46 PM

            boh mi stai solo dicendo che non funziona ma non ho dati su cui lavorare.
            sono solo i dns che non funzionano? se metti 8.8.8.8 direttamente su windows riesci a navigare?
            se si vuol dire che dns resolver non funziona
            era recente lo snapshot da cui hai ripristinato il pfsense? se hai ancora l'hard disk vecchio potresti fare un backup della configurazione di pfsense e poi ripristinarlo sul nuovo disco se prima funzionava

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            S 1 Reply Last reply Nov 20, 2020, 5:05 PM Reply Quote 0
            • S
              senseiluke @kiokoman
              last edited by senseiluke Nov 20, 2020, 5:06 PM Nov 20, 2020, 5:05 PM

              @kiokoman said in Problema DNS in Windows:

              boh mi stai solo dicendo che non funziona ma non ho dati su cui lavorare.
              sono solo i dns che non funzionano? se metti 8.8.8.8 direttamente su windows riesci a navigare?
              se si vuol dire che dns resolver non funziona
              era recente lo snapshot da cui hai ripristinato il pfsense? se hai ancora l'hard disk vecchio potresti fare un backup della configurazione di pfsense e poi ripristinarlo sul nuovo disco se prima funzionava

              No, se imposto 8.8.8.8 manualmente comunque non funziona (scusa avevo dimenticato di riportare questo importante particolare)

              pare quasi che il resolver venga "rifiutato" dalla WAN del Mikrotik che a sua volta è collegato a un router vodafone.
              Grazie

              1 Reply Last reply Reply Quote 0
              • S
                senseiluke
                last edited by Nov 20, 2020, 5:18 PM

                Se disabilito unboud e attivo il forwarder funziona di nuovo tutto.

                Adesso mi piacerebbe proprio capire il perché.

                1 Reply Last reply Reply Quote 0
                • K
                  kiokoman LAYER 8
                  last edited by kiokoman Nov 20, 2020, 5:38 PM Nov 20, 2020, 5:37 PM

                  eh quindi hai un firewall che blocca la porta 53

                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                  Please do not use chat/PM to ask for help
                  we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                  Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                  S 1 Reply Last reply Nov 20, 2020, 5:50 PM Reply Quote 0
                  • S
                    senseiluke @kiokoman
                    last edited by Nov 20, 2020, 5:50 PM

                    @kiokoman said in Problema DNS in Windows:

                    eh quindi hai un firewall che blocca la porta 53

                    Il firewall di pfsense o il mikrotik?

                    1 Reply Last reply Reply Quote 0
                    • K
                      kiokoman LAYER 8
                      last edited by kiokoman Nov 20, 2020, 7:32 PM Nov 20, 2020, 7:29 PM

                      questo devi scoprirlo te, da qui non vedo 🙄
                      usa packet capture per vedere dove si fermano le richieste
                      packet capture / interfaccia WAN - porta 53
                      fai nslookup di qualche sito
                      se vedi uscire la richiesta ma non vedi una risposta allora è il microtik
                      se non vedi niente allora è pfsense

                      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                      Please do not use chat/PM to ask for help
                      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                      S 1 Reply Last reply Nov 20, 2020, 7:54 PM Reply Quote 0
                      • S
                        senseiluke @kiokoman
                        last edited by senseiluke Nov 20, 2020, 7:55 PM Nov 20, 2020, 7:54 PM

                        @kiokoman said in Problema DNS in Windows:

                        questo devi scoprirlo te, da qui non vedo 🙄
                        usa packet capture per vedere dove si fermano le richieste
                        packet capture / interfaccia WAN - porta 53
                        fai nslookup di qualche sito
                        se vedi uscire la richiesta ma non vedi una risposta allora è il microtik
                        se non vedi niente allora è pfsense

                        Ok domani mi metto con calma a provare.
                        Immagino che dovrò fare packet capture su entrambi i dispositivi.

                        Ma perché il forwarder funziona e il resolver no? Non uso pure dnsmasq la porta 53? Pure questo non l'ho compreso.
                        Grazie

                        1 Reply Last reply Reply Quote 0
                        • K
                          kiokoman LAYER 8
                          last edited by Nov 20, 2020, 9:12 PM

                          non lo hai detto prima che forwarder funzionava 😂
                          entrambi usano la porta 53
                          forse hai configurato in maniera errata il resolver

                          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                          Please do not use chat/PM to ask for help
                          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                          S 1 Reply Last reply Nov 20, 2020, 10:17 PM Reply Quote 0
                          • S
                            senseiluke @kiokoman
                            last edited by senseiluke Nov 20, 2020, 10:21 PM Nov 20, 2020, 10:17 PM

                            @kiokoman said in Problema DNS in Windows:

                            non lo hai detto prima che forwarder funzionava 😂
                            entrambi usano la porta 53
                            forse hai configurato in maniera errata il resolver

                            L'ho detto invece.
                            E poi non ho toccato niente.
                            Mi era capitato questa cosa del problema con il resolver anche la prima volta che avevo installato pfsense (un bel po' di tempo fa se ricordi). Risolto passando al forwarder. Reinstallando successivamente pfsense e facendo ancora un tentativo con il resolver inspiegabilmente al secondo tentativo funzionava.
                            Mai capito quale fosse il problema la prima volta.

                            1 Reply Last reply Reply Quote 0
                            • K
                              kiokoman LAYER 8
                              last edited by Nov 20, 2020, 10:22 PM

                              ah, hai ragione scusami, mi era sfuggito.
                              spegni e riaccendi il modem vodafone... ho visto spesso quei cosi andare in tilt e fare cose strane...
                              posta uno screenshot di come hai configurato dns resolver

                              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                              Please do not use chat/PM to ask for help
                              we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                              Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                              S 1 Reply Last reply Nov 21, 2020, 7:36 AM Reply Quote 0
                              • S
                                senseiluke @kiokoman
                                last edited by Nov 21, 2020, 7:36 AM

                                @kiokoman said in Problema DNS in Windows:

                                ah, hai ragione scusami, mi era sfuggito.
                                spegni e riaccendi il modem vodafone... ho visto spesso quei cosi andare in tilt e fare cose strane...
                                posta uno screenshot di come hai configurato dns resolver

                                Ok. Al momento non posso riavviare il router...che qui mi ammazzano, sai lavoro/studio a distanza 😲

                                Lo screenshot del resolver:

                                alt text

                                1 Reply Last reply Reply Quote 0
                                • K
                                  kiokoman LAYER 8
                                  last edited by Nov 21, 2020, 11:24 AM

                                  ok li hai abiltato Forwarding mode, solo cosi funziona?

                                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                  Please do not use chat/PM to ask for help
                                  we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                  Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                  S 1 Reply Last reply Nov 21, 2020, 12:20 PM Reply Quote 0
                                  • S
                                    senseiluke @kiokoman
                                    last edited by Nov 21, 2020, 12:20 PM

                                    @kiokoman said in Problema DNS in Windows:

                                    ok li hai abiltato Forwarding mode, solo cosi funziona?

                                    No, nemmeno così funziona. Devo proprio passare interamente al forwarder per navigare.

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      kiokoman LAYER 8
                                      last edited by Nov 21, 2020, 4:56 PM

                                      prova selezionando network interface LAN e su outgoing interface WAN, disabilita forwarding
                                      se ancora non funziona c'e' il microtik o la vodafone station che bloccano

                                      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                      Please do not use chat/PM to ask for help
                                      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                      S 1 Reply Last reply Nov 21, 2020, 6:46 PM Reply Quote 0
                                      • S
                                        senseiluke @kiokoman
                                        last edited by Nov 21, 2020, 6:46 PM

                                        @kiokoman said in Problema DNS in Windows:

                                        prova selezionando network interface LAN e su outgoing interface WAN, disabilita forwarding
                                        se ancora non funziona c'e' il microtik o la vodafone station che bloccano

                                        Se network intefaces lo imposto in LAN un messaggio di errore mi avverte:

                                        This system is configured to use the DNS Resolver as its DNS server, so Localhost or All must be selected in Network Interfaces

                                        Quindi devo rimettere a posto, ma comunque non va.
                                        Sono costretto ad usare il forwarder.

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kiokoman LAYER 8
                                          last edited by Nov 21, 2020, 7:17 PM

                                          configuralo così,
                                          login-to-view

                                          controlla di non avere niente in custom options

                                          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                          Please do not use chat/PM to ask for help
                                          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                          1 Reply Last reply Reply Quote 0
                                          4 out of 21
                                          • First post
                                            4/21
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.