24 votes
Accepted

Can host aliases be assigned to deployments in Kubernetes? If so, how?

Yes this is possible. All you need to do is follow the same advice you were for a pod specification, but rather than applying it to a YAML file for pods, you apply it to a YAML file for a deployment. ...
neilH's user avatar
  • 997
18 votes

Difference between /etc/hosts and /etc/resolv.conf

/etc/resolv.conf: Lists nameservers that are used by your host for DNS resolution. If you are using DHCP, this file is automatically populated with DNS record issued by DHCP server. /etc/hosts/: It is ...
Sufiyan Ghori's user avatar
18 votes

Bind dnsmasq DNS to just localhost (127.0.0.1)

I had to add bind-interfaces to the config file, so that interface and listen-address had the desired effect. E.g.: interface= bind-interfaces dnsmasq will always listen on lo, so you don't have to ...
shapecatcher's user avatar
14 votes
Accepted

SSL Server name mismatch how to bypass ie11

If you have access to create your certificates for that server I suggest you create a certificate that includes alternate names that the server may be known as. In that way the browser will ...
sweetfa's user avatar
  • 447
11 votes
Accepted

Multiple reverse DNS record internal DNS

We see from your output that IP address was changed from 12.43.168.248 to 12.43.168.105. This is not a big problem if you use DHCP. But this is very uncommon behavior if you use DHCP on Windows Server ...
kay27's user avatar
  • 226
10 votes

Internal DNS points to internal server, yet site resolves to public site?

In the world of DNS website.test.company.com and www.website.test.company.com are two completely different URLs. Whether you are running Windows or Linux and your webserver you need to make you sure ...
Anthony Fornito's user avatar
10 votes

Multiple reverse DNS record internal DNS

I think most likely a DHCP issue. Possibly you have multiple servers/devices with DHCP role leasing IP's with same network range (Maybe a Router has DHCP role as well as Windows Server), your servers/...
mrjamesmyers's user avatar
9 votes
Accepted

Can Windows 2008 DNS assign 2 host names to one IP address

Here is a partly-redacted screen capture of two A records on one of our Windows Server 2008 DNS servers: As you can see, there are two different names in two different A records with the same IP ...
Todd Wilcox's user avatar
  • 2,871
8 votes
Accepted

Why dig NS returns nothing for a domain while it can find an A record for that domain?

It works as expected. The incorrect assumption here is that all names should have NS records. Instead, the set of nameservers is defined on a per zone basis, with NS records at the zone apex only. ...
Håkan Lindqvist's user avatar
8 votes
Accepted

Exposure of hidden-master stealth DNS server on public-facing authoritative slave

Zone files on slave DNS servers often do not (and should not) have information to this hidden master DNS server. They can have A records in their zone files to point to this hidden DNS master server. ...
Tommiie's user avatar
  • 5,657
7 votes
Accepted

Valid SSL certificate for domain/subdomain pointed at a private IP address

There is no difference between private (RFC1918) and public IP addresses except that the former are not routable on the Internet and the latter are. Your DNS zones can point to both these private and ...
Tommiie's user avatar
  • 5,657
6 votes
Accepted

Can a local DNS cache be configured to use stale records when upstream fails?

I know similar feature in unbound DNS. From unbound docs: serve-expired: <yes or no> If enabled, unbound attempts to serve old responses from cache with a TTL of 0 ...
pahaz's user avatar
  • 176
6 votes
Accepted

BIND, RPZ and Forwarding priorities

This can be accomplished with qname-wait-recurse. Here is the documentation from the BIND 9.10 ARM regarding the usage of this feature: No DNS records are needed for a QNAME or Client-IP trigger. ...
Andrew B's user avatar
  • 32.9k
6 votes
Accepted

Kubernetes Pod DNS Resolution

@mk_sta 's answer a bit easier to work with you can run this one liner to test your DNS: kubectl run busybox --image=busybox --rm --attach --command -- sh -c "cat /etc/resolv.conf; nslookup $POD.$...
Breedly's user avatar
  • 250
6 votes

Can BIND setup with only A names and fully qualified host names work properly?

It's perfectly valid to have multiple A records pointing to the same IP. Reverse lookup has nothing to do with it; as that would a) be in a separate zone and b) would be using PTR records. ...
bodgit's user avatar
  • 4,761
6 votes

How to resolve sub-domains in bind9?

For the purposes of discussion, let's call your company's domain example.com which is fictitious, as opposed to company.com which really does exist. TL;DR Debug DNS problems from the top down, until ...
Jim L.'s user avatar
  • 655
5 votes
Accepted

How to do DNS redirect without DNS server?

How to do DNS redirect without DNS server? (I'm assuming you mean CNAMEs, because DNS doesn't redirect) By definition, you can't. Unless you use hosts file hackery. Also note that while you can CNAME ...
Wesley's user avatar
  • 32.8k
5 votes

Let's Encrypt: use Subject Alternative Name for internal domain

The problem You don't own the domain name mynas.local, so of course Let's Encrypt won't sign a certificate saying that you own that domain. If they signed such certificates, browsers would very soon ...
kasperd's user avatar
  • 30.7k
5 votes
Accepted

Let a BIND DNS server query to a second one

Thanks @joeqwerty. It was necessary to edit named.conf on the DNS server in network A. zone "network-b.mycompany.com" { type forward; forward only; forwarders { 10.17.0.1; }; // The DNS ...
JonDoe297's user avatar
  • 563
5 votes
Accepted

DNS - Use public domain name for internal use

Why not setup forwarding for the zone for domain.com and create a new zone for a subdomain of domain.com for which the local name server is authoritative? My example uses example.com instead of ...
Zoran's user avatar
  • 302
5 votes
Accepted

In-house DNS Records not caching or propogating

Short answer: Query the actual authoritative nameservers, follow the chain of delegations. (dig +trace +add ... etc). Long answer: The delegation for godrej.com is a mess. The nameservers for the ...
Håkan Lindqvist's user avatar
5 votes

DNS issues with different internal domain and external domain

Create an internal DNS zone named helpdesk.bigcompany.com with a single A record at the root of the zone for the ip address of your helpdesk system. The internal DNS server will be authoritative only ...
joeqwerty's user avatar
  • 111k
5 votes

Should our small office have internal DNS servers?

Reading from your comments... I would 100% keep DNS. I would also extend your LDAP implementation to AD. 50 people is definitely large enough; I would implement DNS for >10 users if they are at all ...
kilrainebc's user avatar
5 votes

Should our small office have internal DNS servers?

Keep the internal DNS, if necessary make it redundant. SplitBrain DNS is a mess, but usually you have (a lot) more internal records than external. Plus you can split your traffic: internal uses ...
bjoster's user avatar
  • 4,887
5 votes
Accepted

Public AND Private Authoritative DNS Servers

Resolving does not work like you think it does. When you have multiple lines in your resolv.conf they are used as a fallback: the system always use the first nameserver and only if it does not reply ...
Patrick Mevzek's user avatar
5 votes

Can host aliases be assigned to deployments in Kubernetes? If so, how?

hostAliases is part of the PodSpec, which is what you also find in Deployment under spec.template.spec in your Deployment so you can easily use it in the same way in your Deployments Pod spec template ...
Radek 'Goblin' Pieczonka's user avatar
5 votes

Windows 10 Always On VPN, Split DNS, NRPT, and how to configure which DNS server is used?

A potential workaround you could try is standing up a Server 2016 DNS server and implementing a DNS policy to do split-dns with geolocation awareness. This would allow you to tell DNS queries from the ...
Mike M's user avatar
  • 1,142
5 votes
Accepted

HAProxy doesn't automatically reload DNS

The hostname used for server is resolved during haproxy startup when configuration file is parsed or during health checks. You don't have any checks defined for your server so you can get updated ...
AlexD's user avatar
  • 9,849
5 votes

Windows Domain URL

If it were me, I'd reconfigure Drupal to be hosted on www.company.int.
joeqwerty's user avatar
  • 111k
5 votes
Accepted

How to deal with rDNS when my DNS is hosted by a third party that doesn't support PTR records?

PTR records are not set by your DNS provider, but by the owner of the IP addresses. You need to contact the IP address owner to find out how to set PTR records.
Michael Hampton's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible