hello,
I buy a VPS in ISP, and they delivery to my IP # a.b.c.d
also I bought a domain and I go to REGISTRAR and config:
hostname.domain goto -> a.b.c.d
ns1.domain goto -> a.b.c.d
ns2.domain goto -> a.b.c.d
( just 3 weeks back, this means ALL is propagated from many days back.. )
also I install (remotely, with ISO from ISP) DEBIAN 12
ALL INTERNET WORK FINE:this is my /etc/hosts:however, from more f 3 weeks my domain is off, even from my own server:
what files I need touch/edit for fix my DNS in this machine DEBIAN?
it is necessary edit this file:???
how I can find the error?
thanks!
I buy a VPS in ISP, and they delivery to my IP # a.b.c.d
also I bought a domain and I go to REGISTRAR and config:
hostname.domain goto -> a.b.c.d
ns1.domain goto -> a.b.c.d
ns2.domain goto -> a.b.c.d
( just 3 weeks back, this means ALL is propagated from many days back.. )
also I install (remotely, with ISO from ISP) DEBIAN 12
ALL INTERNET WORK FINE:
Code:
root@clock:~# host google.comgoogle.com has address 216.58.209.174google.com has IPv6 address 2a00:1450:4026:802::200egoogle.com mail is handled by 10 smtp.google.com.root@clock:~#root@clock:~# nslookup google.comServer: 127.0.0.1Address: 127.0.0.1#53Non-authoritative answer:Name: google.comAddress: 216.58.209.174Name: google.comAddress: 2a00:1450:4026:802::200eroot@clock:~# getent hosts127.0.1.1 clock.MYDOMAIN.com clock127.0.0.1 localhost127.0.0.1 localhost ip6-localhost ip6-loopbackroot@clock:~#
Code:
root@clock:~# cat /etc/hosts# Your system has configured 'manage_etc_hosts' as True.# As a result, if you wish for changes to this file to persist# then you will need to either# a.) make changes to the master file in /etc/cloud/templates/hosts.debian.tmpl# b.) change or remove the value of 'manage_etc_hosts' in# /etc/cloud/cloud.cfg or cloud-config from user-data#127.0.1.1 clock.MYDOMAIN.com clock127.0.0.1 localhost# The following lines are desirable for IPv6 capable hosts::1 localhost ip6-localhost ip6-loopbackff02::1 ip6-allnodesff02::2 ip6-allroutersroot@clock:~#
Code:
root@clock:~# host MYDOMAIN.com;; communications error to 2a01:4ff:ff00::add:2#53: timed out;; communications error to 2a01:4ff:ff00::add:2#53: timed out;; communications error to 2a01:4ff:ff00::add:1#53: timed out;; no servers could be reachedroot@clock:~#
what files I need touch/edit for fix my DNS in this machine DEBIAN?
it is necessary edit this file:
Code:
root@clock:~# cat /etc/resolv.conf# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN# 127.0.0.53 is the systemd-resolved stub resolver.# run "resolvectl status" to see details about the actual nameservers.nameserver 127.0.0.1nameserver 2a01:4ff:ff00::add:2nameserver 2a01:4ff:ff00::add:1nameserver 185.12.64.1root@clock:~#
how I can find the error?
thanks!
Statistics: Posted by I hate cPanel — 2024-05-04 13:47 — Replies 0 — Views 35