Reply
Accepted Solution

Can a host record and associated alias be in different zones?

[ Edited ]
Adviser
Posts: 65
6384     0

I have one particular zone that is in two different DNS views.  Inside this zone I have a host record that has multiple aliases defined for that host record.  Some of the aliases are not in the same domain as the "parent" host record.  In the external DNS view all of the aliases look correct.  When I look at the internal DNS view, NIOS has automatically changed any aliases that are not in te same domain as the host record by adding the domain name of that zone to the alias.  For example:

 

DNS view: external (this works properly)

Host record: hosted.example.com

Alias: site1.example.com, site2.example.com, site3.newdomain.com

 

DNS view: internal (NIOS keeps changing the alias)

Host record: hosted.example.com

Alias: site1.example.com, site2.example.com, site3.newdomain.com.example.com

 

When I copied the host record from the external DNS view to the internal DNS view (or recreated it in the internal DNS view) I noticed that NIOS does not like it when the alias has a different domain name from the original host record name and will append the domain name to it.  Only the internal DNS view does this.  What is going on here?

 

Re: Can a host record and associated alias be in different zones?

Adviser
Posts: 65
6385     0

I've discovered that if I create the zone newdomain.com inside the internal DNS view I can now add that one alias correctly.  Problem is I don't want to have to add that zone to the internal view.  My internal view forwards to the external view so I shouldn't have to have every zone in both DNS views.  Am I going to have to remove all the aliases and create distinct CNAME records instead?  This isn't good.  Smiley Sad

Re: Can a host record and associated alias be in different zones?

AMani Community Manager
Community Manager
Posts: 39
6385     0

Hi Clark,

 

The behavior that you are seeing is working as per design.

 

What you are trying to achieve is like creating a CNAME record "abc.microsoft.com" in your grid without any zone called microsoft.com. You cannot create it because you are not serving the zone at all. If you want to serve the record abc.microsoft.com, you MUST have the zone or the server will do it recursively.

 

Let me explain with a scenario.

 

Scenario:
2 zones in the same view configured as Primary: test.com and foo.com
1 zone in the same view configured as secondary with external primary: example.com


Host Record FQDN : abc.test.com
Host Record IP: 1.1.1.1
Host Record Aliases: sample.example.com, abc.google.com, ns1.foo.com

 

After adding the host aliases, you would find that the Aliases where the domain name that does not match any zones which are configured as primary, the name of the zone gets appended.

 

This is what it will look like: abc.google.com.test.com, ns1.foo.com

 

Moreover, you would get a message: Cannot add the host alias google.com.in to a zone that is secondary" since the zone example.com is secondary(with external primary) and you cannot add records in an external primary zone. 

Alias cannot be added into an non-auth zone

 

Reason:

 

Working of an Alias record:

 

If a query comes for an Alias record, it will try to resolve the A record and thereby its IP.

 

In the above scenario, if a query comes for ns1.foo.com, the server will see that ns1.foo.com is a CNAME for abc.test.com and it will resolve to the IP 1.1.1.1.

 

If the query is for abc.google.com, since we are not at all serving the domain google.com, then it MUST do a recursive query.

 

Alias --> Host/A record --> IP
Host/A record does not resolve to a CNAME, it will resolve only to an IP.

 

 

------------------------

 

Common misunderstanding:

 

Users gets confused with the terminology when it comes to a CNAME and ALIAS.

 

In CNAME Record, the field ALIAS is the FQDN of the ALIAS record and it has to be created in a Primary Zone.

 

The field "Canonical Name" is the field where you can put the name to which it should resolve. It can be either a record inside the Grid served by Infoblox or it can be a completely external record.

 

Similarly, in a Host Record, the ALIAS field is same as the CNAME record. The record should be inside a zone served by Infoblox.

 

Hope this clarifies!

Re: Can a host record and associated alias be in different zones?

Adviser
Posts: 65
6385     0

That makes sense.  In order to get around this I will remove any aliases that do not live in the same zone as the host record.  I will edit the zone where the alias is from and add an A record there.  This works in the lab.  

Re: Can a host record aMovieRulzSite Watch Online Movies Fnd associated alias be in different zones?

harsukh
Techie
Posts: 1
6385     0

Re: Can a host record and associated alias be in different zones?

[ Edited ]
mopa9600
Techie
Posts: 2
6385     0

 My internal view forwards to the external view so I shouldn't have to have every zone in both DNS views.  Am I going to have to remove all the aliases and create distinct CNAME records instead?  This isn't good.  

[URL=https://youjizz.one/]Youjizz[/URL] [URL=https://123porn.vip/pornhub/]Pornhub[/URL] [URL=https://tubegalore.vip/]Tubegalore[/URL]

Re: Can a host record and associated alias be in different zones?

UltraTech4You
Not applicable
Posts: 1
6385     0

I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really that good.Thanks a lot!

 Poke Meaning In Hindi Poke ka Matlab Kya Hai
 UltraTech4You
 Get Into PC
 Parvez Alam
 Apk Moder

Re: Can a host record and associated alias be in different zones?

[ Edited ]
ebizzinfotech
Techie
Posts: 1
6385     0

Thank you for sharing the information. Such small information can always be helpful in gaining small knowledge. Great Job!

 

Regards

 

React Native Development Company

Re: Can a host record and associated alias be in different zones?

Dogilal
Techie
Posts: 1
6385     0

Indian Air Force: A Cut Above [DISHA – IAF HQ] is a Alternative of PUBG Hack.

 

Indian Air Force’s mobile gaming application

  • The official mobile gaming application of the IAF will allow an aspirant to experience first hand the roles of an IAF air warrior, as well as means to apply and appear for recruitment from the comfort of his/her mobile phone.
  • The gaming application will have various features, including offline single player missions, an online multiplayer and a career navigator information section as well as augmented reality features.

DOWNLOAD APK

 

Also Visit : Apkals.com

Pubg Hacking Tools : **Veteran ModeDS-H-IRAQAndroid 9 Pie, Virtual Android Pie 9 , Strange VPN , Tamilrockers

 

Showing results for 
Search instead for 
Do you mean 

Recommended for You