|
Sander Rossel wrote: When I'm at home, it works.
When I'm at home and on VPN it doesn't work.
It works with and without VPN for my coworker, but only from home.
At the office, it doesn't work with or without VPN for both of us. When something is all over the place like this, it's best to remove as many variables as possible. As such, if not yet done, a traceroute should be done in each and every environment both on and off the VPN. It could be anything from your coworker updating his hosts file without saying so or even a regional thing where you're hitting a different server. Who knows, but a traceroute will help figure that out.
Sander Rossel wrote: We've deployed both in an Azure app service with the subdomain properly registered in the DNS and a valid certificate. Exactly how though? A local or localhost domain generally doesn't go through DNS. I mean it can, but it's typically considered private. Is this a public DNS server or something internal only?
Sander Rossel wrote: When I remove the subdomain everything works. This is what I'm guessing the issue is. It's just a guess, but in DNS lingo a subdomain is a typically CNAME. A top level domain is an A record usually. If you try to add a "sub domain" as an A/SOA record, that's considered advanced and not needed for most situations where you're running things on the same server.
So perhaps Azure (assuming this is a public DNS server) just isn't happy with the way it was entered.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: Exactly how though? A local or localhost domain generally doesn't go through DNS. I mean it can, but it's typically considered private. Is this a public DNS server or something internal only? Yeah, that one isn't called localhost, obviously
sub.client.nl registered using CNAME.
Azure is quite strict about that kind of stuff.
|
|
|
|
|
That makes the whole situation even more confusing then... because if that's not the case then you're not using an DNS server at all. Yes, DNS supports a hosts file as part of the protocol but that's not the same thing as a server... which means every config is on a per machine basis.
Guessing this is your first time doing this? When I find myself overwhelmed I usually start again from scratch and take it one step at a time while ensuring every step along the way is working and verified. Perhaps that'll help?
Jeremy Falcon
|
|
|
|
|
Also, you should flush the DNS cache on every machine that attempts to access anything before even thinking about troubleshooting. DNS propagation isn't too long of a wait, but it's most certainly not instant. So, if you're debugging something, always flush your DNS cache first.
For Windows it's ipconfig /flushdns .
Also, it wouldn't hurt to know the TTL for the DNS server in question for each machine. This assuming you're not using your ISPs DNS server, which you most likely are. Although some ISPs will list their TTL.
Note, this doesn't apply to a host file, but it most certainly does for a DNS server.
Jeremy Falcon
|
|
|
|
|
A while ago, I had a test site setup with both A and AAAA records in DNS. Worked fine "from home", failed to connect "via VPN".
Guess what: My VPN config had IPv6 disabled, but still tried to connect using the AAAA IPv6 address.
|
|
|
|
|
tracert shows different paths to the domain?
|
|
|
|
|
So, were you able to sort this out?
I wouldn't mix in the localhost issue, it is probably something different and I'm assuming the goal is to have the Azure service running.
Have you run the sub through a DNS checker? I'm assuming you are using azure-dns.net as the DNS.
|
|
|
|
|
Hello,
I don't know whether you've solved this yet, and I'm definitely NOT the person to solve it. BUT: there was a comment about using nslookup to examine the actual DNS resolution.
And, also know that windows loads several default values into the routing table when you boot, and may retain some of these on reboots. You'll want to flush the table (as admin: netsh interface ip delete destinationcache).
Also know that there are a number of special-use domain names and extensions used for for the internet at large: see rfc6761.
"Works on my machine" is humorous adage for a reason.
Good luck.
Time is the differentiation of eternity devised by man to measure the passage of human events.
- Manly P. Hall
Mark
Just another cog in the wheel
|
|
|
|
|
Wordle 1,084 4/6*
β¬β¬π¨β¬π¨
π¨π¨β¬π¨β¬
π¨π©π¨π©π©
π©π©π©π©π©
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,084 2/6
β¬β¬β¬π¨π¨
π©π©π©π©π©
|
|
|
|
|
Wordle 1,084 4/6
β¬π¨β¬β¬π¨
β¬β¬π©π¨β¬
β¬π©π©π©β¬
π©π©π©π©π©
|
|
|
|
|
β¬β¬β¬π¨π¨
β¬β¬π¨β¬β¬
β¬β¬π¨π©π©
β¬π©π¨π©π©
π©π©π©π©π©
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,084 4/6*
β¬π¨β¬β¬π¨
β¬π¨β¬π¨π¨
β¬π©π©β¬π¨
π©π©π©π©π©
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
Wordle 1,084 4/6
β¬π¨π¨π¨β¬
π©π¨π¨β¬β¬
π©π©β¬π©π©
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,084 3/6*
β¬β¬🟨🟨🟨
β¬🟨🟨🟨β¬
🟩🟩🟩🟩🟩
|
|
|
|
|
I hope this is not going to be called programming question, but I am running out of non AI forums to post this.( This forum Linux subforum is of no help - this is not programming issue )
I just had a total "no boot" failure of my grub file - working multi-operating system.
( Total power outage / failure caused this)
Ever since I started using Linux Ubuntu I have been unable to figure out HOW TO MAKE FULL DUPLICATE of perfectly working OS. ( Using "DD" command did not work!) I have several HD, space in no issue.
I was hoping use something likes RAID to do this. I am well aware of RAID issues, but I am desperate to have this resolved before another catastrophic failure.
PS
This time my working grub recovered because another , non used , but operational Ubuntu grub file was "updated/ upgraded".
|
|
|
|
|
I think the title of your post is hilarious because it sounds so much like when people ask (quite frequently,) "How to solve this problem?" and it's a question that would take pages and pages to answer.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Perhaps I am on wrong planet- I was under the impression this forum, in particular, was in existence to help solve problems. I guess I am wrong ... again.
But I do appreciate your post for staying on the subject and
you not telling me to RTFM or "get an new one ".
Hope somebody will take "the first baby step" to start the mentioned pages leading to solution.
PS
Just went thru few "fsck" to fully (?) recover from the grub failure...
|
|
|
|
|
wrote: Perhaps I am on wrong planet Hey you finally said something accurate.
wrote: I was under the impression this forum, in particular, was in existence to help solve problems. That's where you're wrong. The lounge is clearly marked as a SOCIAL forum. There are other forums for questions.
Yes, on occasion, you'll see us answer questions but it's usually with people we know that do not abuse the system. That ain't you dude. Ever since you've been here you've done nothing but abuse it with provided no value in return. Which is fine, but go to the forums.
We've only said this over and over. So, if you don't understand this point then its because you simply do not care. Just don't be surprised when you have zero friends bro.
Jeremy Falcon
|
|
|
|
|
|
|
There are many packages out there that can duplicate an entire partition or an entire disk. Many of them have a version that can be installed on a boot CD (or USB drive). OriginalGriff swears by AOMEI (runs on Windows, or from a Windows PE boot disk), but there are others.
AIUI, the grub is not part of any partition, so duplicating the partition is insufficient to recover the O/S. It is better to duplicate the entire disk, assuming that you have space available. As far as recovering the grub is concerned, I would assume that you start from a boot CD (or USB drive) containing the appropriate version of Ubuntu, but I'm unsure as to how to progress from there.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Relax blend in.
Veeam Agent is your friend. No matter what the OS.
4 letter word beginning with F: Free. (community).
Clonezilla is also good.
>64
Itβs weird being the same age as old people. Live every day like it is your last; one day, it will be.
|
|
|
|
|
I understand that the OP intends to reload the backed up OS to the same machine. Then a backup might work, as long as the hardware is completely unchanged.
Usually, the binary OS running on a machine is closely tailored to the hardware, e.g. the selection of drivers. It doesn't carry drivers it doesn't need. Say that a lightening hit your internet line (presumably a metallic one, not a fiber); the high voltage made it all the way to your network interface and blew it. So you replace the broken interface with a new one, of a different model. Your OS doesn't have a driver for it, preventing you from retrieving the correct driver from internet.
Or if the lightening spike went through your power supply and hit your disk, and you replace it with a newer model, requiring a different driver. The OS lacks the driver to boot itself from the disk, even if the complete OS (but with the old disk driver) is available.
Fortunately, hardware interfaces have become much more standardized today than 20 years ago. E.g. no USB memory stick requires any special driver. Yet our PCs run numerous hardware dependent drivers. Even though your PC may boot, some essential equipment may fail to operate with the backup OS.
Years ago, after buying a new mainboard for my PC (transferring a lot of stuff from the old one - this was in the days when you had plug-in cards for everything), I tried to take a shortcut, loading the total backup I had made before throwing out the old mainboard. It "sort of" booted, but lots of stuff didn't work (even though it was unchanged; it probably had been assigned other interrupts something of that kind), and the OS bluescreened several times before I gave up and went through a complete OS installation from scratch.
There are also those software packages (OS or other) that reads some machine identification, such as a CPU ID or a hash of the IDs of peripheral IDs, and refuse to run if you try to install the backup on another CPU or configuration. A couple of Windows versions did this. If you added another hard disk to your PC, you had to call Microsoft service to receive another activation code for the new configuration. This was so annoying that it was first loosened a lot, then removed completely.
I don't expect anything of that kind with Linux, though. But even if the OS core is free, there is a lot of commercial software running on Linux, and the vendors may use such mechanisms to prevent unauthorized use of their software.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
If you have the drives and your concern is just having backups/never really having the machine down, just slap three in there in RAID0+1 and call it awesome.
You could just go RAID 1, but you'll get a slight performance bonus the first way.
|
|
|
|