GCloud bug: I have configured my DNS dinhonesto.com.br and www.dinhonesto.com.br of type A to an external ip but only dinhonesto.com.br is working - dns

I have configured my DNS dinhonesto.com.br and www.dinhonesto.com.br of type A to an external ip but only dinhonesto.com.br is working.
NOTE: it is not working since 15 days ago
DNS Name Type TTL (secs) Data
www.dinhonesto.com.br. A 300 34.98.110.250
dinhonesto.com.br. A 300 34.98.110.250
When I try to ping both domains (dinhonesto.com.br and www.dinhonesto.com.br)
$ ping -c 3 dinhonesto.com.br
PING dinhonesto.com.br (34.98.110.250) 56(84) bytes of data.
64 bytes from 250.110.98.34.bc.googleusercontent.com (34.98.110.250): icmp_seq=1 ttl=115 time=11.6 ms
64 bytes from 250.110.98.34.bc.googleusercontent.com (34.98.110.250): icmp_seq=2 ttl=115 time=11.6 ms
64 bytes from 250.110.98.34.bc.googleusercontent.com (34.98.110.250): icmp_seq=3 ttl=115 time=11.5 ms
--- dinhonesto.com.br ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 4884ms
rtt min/avg/max/mdev = 11.557/11.636/11.686/0.136 ms
$ ping -c 3 www.dinhonesto.com.br
ping: www.dinhonesto.com.br: Name or service not known
When I ping www.dinhonesto.com.br I get Name or service not known

I have found the solution just today, I have created an A record pointing to the External IP of my google cloud instance because I was having an error when creating a CNAME "Managed zone may have either one CNAME resource record set or resource record sets of other types, but not both."
. I have just changed my DS record from www.dinhonesto.com.br to ds.dinhonesto.com.br and it now is working fine! I even managed to use CNAME to point www.dinhonesto.com.br to dinhonesto.com.br and it is working fine too!
I hope this help somebody, Google Cloud should give an error message when we try to create an A record that conflicts with a DS record.
I have also tested both www.dinhonesto.com.br and dinhonesto.com.br with dnssec-analyzer and everything is fine.

Related

Windows 10 not search host name in DNS when I ping if no dot at end?

I have some simple problem which is very typical but not solved in internet - I study 20 solutions or more and all not works (maybe 10 on StackOverflow, ... and Microsoft pages). The most of solutions are wrong (suggest to do not need things). Please do not copy these solutions or refer if you are not understand what they do :)
I have Windows 10 and try to us dns names to search computers but it not works as it expected.
ping etcd-1
Ping request could not find host etcd-1. Please check the name and try again.
What Wireshark see ... - Windows 10 do no question to DNS (I added .suffix "." in TCP 4/6). Windows 10 do broadcast?
>ping etcd-1.
Pinging etcd-1 [192.168.50.72] with 32 bytes of data:
Reply from 192.168.50.72: bytes=32 time<1ms TTL=64
Reply from 192.168.50.72: bytes=32 time<1ms TTL=64
Reply from 192.168.50.72: bytes=32 time<1ms TTL=64
Reply from 192.168.50.72: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.50.72:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
What Wireshark see ... - Windows 10 do question to DNS but why now?
What is wrong with this configuration?
Why Windows not use DNS for etcd-1 but for etcd-1.?
nslookup etcd-1 works!
What is my suffix configuration:
This is WINS:
try this command to clear cache:
c:\>ipconfig /flushdns

How to get access to blocked domains from a vps? (Monero mining pool URL)

Mining pools supportxmr.com and minexmr.com are blocked by providers like vultr.com
miner#vultr_vps:~# ping pool.minexmr.com
ping: unknown host pool.minexmr.com
Hard coding IP addresses isn't possible, because multiple mining servers are setup with a round robin DNS behind the domain.
Any idea how I can access the pool anyway?
I solved this same issue today on Vultr. It's just a matter of not using their DNS servers (the example below uses the free DNS service offered by Google).
On Ubuntu 18.04 all you gotta do is open your DNS config for editing:
sudo nano /etc/resolv.conf
Then delete the entire contents of the file, and replace with:
nameserver 8.8.8.8
nameserver 8.8.4.4.
Cheers :)
I created a subdomain and setted up CNAME to pool.minexmr.com.
PING pool.minexmr.com (78.46.91.134) 56(84) bytes of data.
64 bytes from static.134.91.46.78.clients.your-server.de (78.46.91.134): icmp_seq=1 ttl=56 time=5.48 ms
It looks like everything is going to work well. The minexmr.com dashboard shows that the miner works correctly.

Proxmox vmbr0 bridge is not "switching". Why?

I am trying to figure out why the "default" Proxmox network configuration is not behaving as I expect.
I have:
a Proxmox server (10.0.40.10)
the network bridge (vmbr0) created by Proxmox by default
a VM (10.0.40.20) connected to vmbr0 (let's call it VM1)
a VM (10.0.40.25) connected to vmbr0 (let's call it VM2)
a gateway (10.0.40.254) configured on vmbr0
When I performed an HTTP transfer (GET) on VM2 from VM1, the speed I observed indicated that traffic was exiting the Proxmox host, going to the gateway, and returning back to the Proxmox host.
Both VM1 and VM2 are connected to vmbr0, so my expectation was that vmbr0 would "switch" between the two VMs, based on the MAC/ARP, and that the traffic would remain entirely local (and be one or two orders of magnitude faster).
When I run a ping from VM2 to VM1, I observe this:
[root#vm2 ~]# ping -c 5 10.0.40.20
PING 10.0.40.20 (10.0.40.20) 56(84) bytes of data.
64 bytes from 10.0.40.20: icmp_seq=1 ttl=64 time=0.485 ms
From 10.0.40.254 icmp_seq=1 Redirect Host(New nexthop: 10.0.40.20)
64 bytes from 10.0.40.20: icmp_seq=2 ttl=64 time=0.609 ms
From 10.0.40.254 icmp_seq=2 Redirect Host(New nexthop: 10.0.40.20)
64 bytes from 10.0.40.20: icmp_seq=3 ttl=64 time=0.598 ms
--- 10.0.40.20 ping statistics ---
3 packets transmitted, 3 received, +2 errors, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.485/0.564/0.609/0.056 ms
Running a traceroute shows:
[root#vm2 ~]# traceroute -I 10.0.40.20
traceroute to 10.0.40.20 (10.0.40.20), 30 hops max, 60 byte packets
1 gateway (10.0.40.254) 0.328 ms 0.308 ms 0.393 ms
2 10.0.40.20 (10.0.40.20) 0.472 ms 0.481 ms 0.533 ms
The vmbr0 configuration looks like this:
Network definition for VM1:
Network definition for VM2:
This seems like such a fundamental use-case it seems like I must be missing something.
Does anyone know if my expectations are correct, or is this correct behavior for vmbr0? Does something look misconfigured? Do I need something like Proxy ARP or an on-box virtual router to solve such a simple use-case?
Solved: The IP addresses of some of the Virtual Machines were configured as /32 rather than /24, eg. 10.0.40.25/32 instead of 10.0.40.25/24, and therefore did not consider themselves in the same subnet as their peers, and traffic was sent out on the default route.

Ping from VM - Check MK

I would like to install check MK Monitoring Server on an Ubuntu VM in Azure.
The query of the services to external works, however, not the ping.
(Ubuntu 14.04. LTS)
Which port or setting do I need to set in Azure?
PING stackoverflow.com (151.101.193.69) 56(84) bytes of data.
^C
--- stackoverflow.com ping statistics ---
99 packets transmitted, 0 received, 100% packet loss, time 98057ms
According to the present Network Security Group design - you would need to open all the ports to the VM to allow for pings. Link. There's no way to allow for ICMP only currently.

CANNOT access via http://localhost but CAN access via http://computername or DNS from the internet

So...
'http://server_ip_address/application'
works locally
'http://dns_address/application' works
locally
'http://computer_name/application'
works locally
'http://localhost/application' does
not work locally
Any ideas on getting localhost to work again? It does work for the browsing the root however.
This is IIS 7.5 and ASP.NET MVC 2 running in classic mode.
This is happening because I am only allowing SSL for the application which is enforced by a redirect mechanism to the SSL page AND the SSL only listens on the correct port.
Thanks for the help guys, I really appreciate it.
open this file c:\windows\system32\drivers\etc\hosts with the notepad and add the lines
127.0.0.1 localhost
if it is commented (default, line start with ;) then uncomment it.
and try it again.
bad: (ipv6 problem)
C:\Users\Administrator.DEVJC>ping localhost
Pinging DEVJC.vaio.cl [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Ping statistics for ::1:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Control-C
good: (ipv6 and ipv4 compatible)
C:\Users\Administrator.DEVJC>ping localhost
Pinging DEVJC.vaio.cl [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Control-C
Microsoft says "# localhost name resolution is handled within DNS itself." but it is a lie (an half-lie). Sometimes is true but in a few cases it fail (or it try to resolve externally = slow)
You can also resolve by adding the Binding information in your IIS. To do this:
Open IIS
Select Default Web site
On right side actions panel, select Bindings. You will get site bindings screen
Add a new binding adding 'localhost' in the Host name field
IP Addresses field can contain text 'All Unassigned'
Then save and reset IIS
After this I think you should be able to browse all applications hosted in your IIS with localhost.
I found my problem , In my server I Have Microsoft Thread Management Gateway (Microsoft TMG) in the firewall policy there are "HTTP Protocol Policy" Right click it --> "Configure HTTP" --> "General" --> "URL Blocking" --> uncheck block high bit characters --> click OK then Apply
wait to TMG sync firewall. then go to your site and check your problem.

Resources