• [^] # Re: nslookup

    Posté par . En réponse au message Pb résolution dns sur Ubuntu 20.04 en dhcp. Évalué à 1. Dernière modification le 01 février 2021 à 17:42.

    Voici le résultat des commandes host web0.mydomain.local et nslookup web0.mydomain.local

    user@cheick-HP-ProBook-430-G7:~$ host web0.mydomain.local
     Host web0.mydomain.local not found: 3(NXDOMAIN)
    user@HP-ProBook-430-G7:~$ nslookup web0.domain.local
    Server: ::1
    Address: ::1#53
    server can't find web0.mydomain.local: NXDOMAIN
    user@HP-ProBook-430-G7:~$

    et le contenu du fichier /etc/resolv.conf

    # This file is managed by man:systemd-resolved(8). Do not edit.
    #
    # This is a dynamic resolv.conf file for connecting local clients to the
    # internal DNS stub resolver of systemd-resolved. This file lists all
    # configured search domains.
    #
    # Run "resolvectl status" to see details about the uplink DNS servers
    # currently in use.
    #
    # Third party programs must not access this file directly, but only through the
    # symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
    # replace this symlink by a static file or a different symlink.
    #
    # See man:systemd-resolved.service(8) for details about the supported modes of
    # operation for /etc/resolv.conf.
    nameserver 127.0.0.53
    options edns0 trust-ad