Questions tagged [dns]

For use in questions relating to the Domain Name System and associated processing.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

What are the specific changes that need to be made in client code to handle multi-subnet FCI?

The client application then retrieves all registered IP addresses from the DNS server and attempts to connect to the addresses either in order or in parallel. This means that client recovery time in ...
user avatar
  • 2,130
0 votes
1 answer
36 views

Updating DNS on Availability Group database servers

We have always on availability group that spans across different data centers. Our network team has decommissioned some DNS servers and those servers will need to be updated with the active ones on ...
user avatar
  • 1,007
0 votes
1 answer
86 views

Return Current Connection CName

I'm wondering if anyone knows if there is a way to return the name that was used to connect to the SQL server rather than the actual server's name. For instance I typically connect to the server via a ...
user avatar
0 votes
0 answers
53 views

Linked Server Using a DNS Alias Returning Bad Data

Somehow on the same DEV server we have two Linked Servers to the same PROD server. While that, in and of itself, is not an issue; we have noted something we can't explain and we wonder of anyone else ...
user avatar
0 votes
1 answer
83 views

MultiSubnetFailover=true for DBMSes besides SQL Server

A connection string for SQL Server can contain MultiSubnetFailover=true, to handle multiple DNS A records, letting the client try to connect to every IP address of a domain (or subdomain) name, to ...
user avatar
  • 179
0 votes
1 answer
121 views

Failover and DNS propagation delays

When a DBMS fails over after a failure, if it fails over to a server in a different and unrelated data center, then the IP address of the subdomain name of that database will need to be changed in ...
user avatar
  • 179
1 vote
1 answer
315 views

How to see urls of incoming SQL Server traffic?

We are migrating the dns entry for our SQL Server database from an machine name to a C-Name, in preparation for moving it from a bare metal box to a virtual machine. We have switched all the ...
user avatar
1 vote
2 answers
20k views

Windows Cluster can't update DNS record

Setup: Windows server 2016 standard edition. SQL server 2016 standard edition. 2 nodes configured in a cluster without witness quorum. all member of the same Active Directory domain. 1 Availability ...
user avatar
0 votes
2 answers
247 views

PostgreSQL failover: Who is responsible for handling it? How do clients connect to the new leader?

On a high level, consider two PostgreSQL instances on two separate nodes: the leader and its hot standby. Replication from leader to follower is configured. Consider that the leader node crashes. Two ...
user avatar
3 votes
0 answers
1k views

DNS CNAME for a SQL Managed Instance (Azure)

I currently have an on Prem SQL Instance that has a DNS CNAME set up against it via our On Prem DNS Server. I am looking to move this server to an Azure Managed Instance and I want to point the DNS ...
user avatar
  • 84
1 vote
0 answers
16 views

details on how to connect to geographically close datacenter

I am reading a book about distributed systems. One of the options of data replication mentioned is the use of a "multi leader" approach and place each leader in a different datacenter. The main point ...
user avatar
  • 233
6 votes
2 answers
2k views

Are CNAME aliases for connection strings a good idea?

To be very flexible and move database to different servers more easily, we came up with the idea of using an alias per database. So by simply changing a DNS entry, we can route all queries to a ...
user avatar
0 votes
1 answer
194 views

Postgresql responses are slow without internet

I have a Postgres service in Centos 7 and it works normally. Each time when the internet service (by an IPS) is down, the responses are slow, other times the DNS is reset by an electrical trouble, ...
user avatar
0 votes
1 answer
215 views

Duplicate Ips for cluster nodes causing backup issues

We have a four node cluster (SQL Server 2014 on Windows 12) and we recently setup heart beat network on the nodes following a best practices source after experiencing some cluster instability issues. ...
user avatar
1 vote
0 answers
168 views

Domain Independent Cluster on AWS

I am trying to work out whether it's possible to create a Domain Independent Workgroup Cluster in AWS (on Windows Server 2016 for use with SQL 2017 Availability Groups). This environment also has no ...
user avatar
  • 53
3 votes
1 answer
158 views

Using DNS per application in ConnectionStrings

I have come across an idea recently when I had to migrate a ton of in-house applications to a new SQL server. The more I look at it, the more it sounds perfect, but I wanted to ask the community for ...
user avatar
  • 497
5 votes
2 answers
54k views

Cluster network name resource 'Cluster Name' failed registration

I have a fail-over cluster set between two Windows Server 2016 machines, and I'm seeing errors regarding the DNS record, both for the cluster itself and for any listener I try to add in SQL high ...
user avatar
  • 51
1 vote
1 answer
3k views

Multi-Subnet AG - DNS flips to secondary IP

I have a 3-node FCI: 1 primary / 1 secondary co-located in same data center on same subnet, and 1 secondary in a DR data center on another subnet. Periodically, the virtual IP (VIP) for the AG ...
user avatar
0 votes
1 answer
7k views

MySQL DNS issue: skip-name-resolve connection fast but cannot log into email

MySql is used here with remote network connections, and after a reboot of the server these connections started taking 20-30 seconds to connect causing timeouts. Connections used to be nearly instant. ...
user avatar
  • 181
1 vote
1 answer
689 views

ODBC can't connect to internal MySQL without external network

Running ODBC 5.2 (10.0.0.10) and MySQL 4.x (10.0.0.50). Yes, I know that ODBC 5.x dosen't officaly support MySQL 4.x but it was working fine for ~8 months till now when we have little problems with ...
user avatar
  • 163
0 votes
0 answers
419 views

How to create 2 MySQL Databases replication in real time, based on Dns Failover Website

At the moment I have server running with php+mysql+nginx+bind, its a backend system that i have developed for managing set-top-boxes(satellite boxes, iptv,ott boxes), based on clients actions it ...
user avatar
2 votes
2 answers
120 views

Creating an index of wildcard DNS names

I want to have a table column which will be filled with wildcard-type DNS entries, like *.example.org *.popularisp.net such that I can make fast queries against actual reverse DNS hostnames, ...
user avatar
  • 121
1 vote
0 answers
356 views

IP from a different subnet is registered even after node and resource were removed

We run two SQL server at primary site in AlwaysOn High Availability Group on subnet 10.10.0.0/24 A third SQL server is running on secondary site in a different subnet 10.10.1.0/24 We have had third ...
user avatar
1 vote
1 answer
814 views

AlwaysOn Listener and DNS

We have two DNS servers which replicate entried between them and we recently had a DNS issue where some of the listener addresses were removed from one of the servers only. At that point some of our ...
user avatar
  • 1,529
1 vote
2 answers
543 views

PostgreSQL/ Linux, way to have DNS forward to a port/cluster?

Aws linux(centos) ec2 Host: mydb. 10.10.10.10. 3 clusters: ports 5432, 5433, 5434 What I'd like to see is: db2.mydb or mydb/db2 connect/fwd to cluster2 (5433). Anything Linux or psql come to mind? ...
user avatar
1 vote
1 answer
1k views

How to design database for DNS?

What tables will be there.Also as read percentage will be significantly larger than write, is indexing on columns advised? What other precautions are necessary? For now, I can just think of 1 table ...
user avatar
5 votes
1 answer
1k views

Suggest better design pattern for reverse DNS lookups

I'm working on a project where I need to look up the hostnames associated with IP addresses who were logged making HTTP requests. The lookups currently happen as part of a daily ETL job. The current ...
user avatar
  • 4,178
7 votes
2 answers
9k views

How do I change SQL Server 2012 Availability Group DNS subdomain?

Questions: how can I get my availability group to be registered as ag-ewgtest.sql.company.com given that my server thinks of itself as server.company.com. Setup: my SQL Server 2012 availability group ...
user avatar
2 votes
2 answers
6k views

MySQL slow queries - Fast using PHPMyAdmin , low CPU and RAM usage

I have a site running on Amazon EC2 , which runs fast and contains some reasonably complex MySQL queries. Part of that site is an API which serves out data to another site. These queries are very ...
user avatar
13 votes
3 answers
25k views

How to grant multiple users privileges; MySQL

I have the following code: GRANT SELECT,INSERT,UPDATE ON db1.* TO ‘user’@example.com; I am a beginner in mySQL, I was wondering if there is a method in which I can specific the privileges for every ...
user avatar
  • 231
4 votes
2 answers
746 views

Remove nulls from TSQL connection string

I have a bunch of queries, against a couple different databases, that I use to generate delimited reports. I'm trying to create some new reports against a MSSQL database and I'm having trouble ...
user avatar
  • 1,185
3 votes
2 answers
3k views

MySQL Replication via DNS Failure

I'm having some trouble using replication when the machines are configured to use host names instead of IP addresses. The "skip-name-resolve" is OFF. If I use IP addresses, everything is fine. Using ...
user avatar
  • 1,313