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

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
The Domain Controller Server (Windows Server 2016) has IP's for DNS of 168 and 170

The Exchange Server (Windows Server 2019) can not ping 170 with the command prompt.

The ping of domain returns 170 and 14.

The ping of 14 times out probably invalid.

I am trying to find away to have the exchange server have connectivity with the domain server.

**Exchange Server Command Prompt**
C:\Users\administrator.ADVSYSTEMS> ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : VSDCA2K16MAIL01
   Primary Dns Suffix  . . . . . . . : advsystems.com
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : advsystems.com

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . : advsystems.com
   Description . . . . . . . . . . . : Microsoft Hyper-V Network Adapter
   Physical Address. . . . . . . . . : 00-15-5D-67-A6-06
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::e476:c122:6983:e4a5%13(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.103.60(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.103.1
   DNS Servers . . . . . . . . . . . : 192.168.103.170
                                       192.168.103.1
   NetBIOS over Tcpip. . . . . . . . : Enabled


0
Need a good solution to deploying hosts files to several servers that does not involve GPO

Hi,

I need a good and fast way to deploy a hosts file or edit the hosts file of many Application servers at once and then be able to roll back if necessary.

Also, these servers are not all on the same domain.  And some are not even part of a domain but a workgroup.   So this makes things complicated.  

We need to make this happen in preparation for a SQL DB migration that is occurring next week.

I was looking online for different ways to do this.

I found some powershell script solutions but there may be a great tool for this instead.  I feel this is a very common situation for Application servers and making sure there are no issues incase DNS goes broke for whatever reason.  I feel it is also great for Failover situations.  

Your thoughts please.  Thanks
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
I need some advice on how to split and migration an active directory environment which currently now a parent and child company is separating as the child company is being sold. Both company users are from a single forest, single domain and will be migrated out to each individual domain. Assuming the parent company will continue to use the existing domain, the child company will shift to a new domain environment which will need to migrate their users, device, and objects.  
Shall I use the ADMT to migrate the child company users and belongings to the new environment which will be on new forest/domain with the new Active Directory Server?
How about the DNS migration as not too sure on migrating the DNS record via replication method or any method/technic available?

By migrating the AD objects and DNS, any other aspect I need to be concerned off? e.g Self-signed Certificate? SQL admin using domain defined account?
0
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
Dear Experts, we have several Exchange 2016 servers, routing via Smart host (Sonicwall ESA7000). As my understanding, all emails will transmit locally in LAN to that Sonicwall firewall before going to the Internet.

So do we have to keep the NAT entries for those Exchange email servers on the Router? OR do we just need to keep the NAT entry for the Sonicwall?

Please suggest! Many thanks
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
We’ve recently worked with our email provider (we outsource) to create and add DKIM, SPF, and DMARC records in an effort to improve our domain’s email reputation, specifically, with Google as email to gmail accounts have been getting denied as of late. I will say that it’s made a significant improvement in mail getting through.

However, in one dmarc report from Google, there are blocks of IPs in Hong Kong and other countries spoofing our domain. I thought about editing the SPF record with a “-all” in order to “Hard Fail” any servers that aren’t in our list of approved senders, but given my inexperience, I’m concerned about False Positives. Currently, we are “Soft Failing” with “~all”. Any recommendations here?
0
Hey guys,
 We are considering to provision all our Domain Controllers as CORE edition servers 2016.   Wondering on others experience from manageability standpoint.  
How do you guys manage it.  Say you need ADUC, DNS, DHCP, AD Sites-services, etc, etc.  
I'm thinking to have at least one Regular Domain Controller with GUI interface.  Others are OK to have CORE.  Thoughts?

Thanks in advance.
0
Hi everyone,

This may be a DNS issue - maybe not.

I had a user who was encountering some printing problems yesterday.  I got the printing problem solved but in doing so discovered that I was able to ping the PC using two different hostnames, but having only one IP address.  I've verified that the inaccurate hostname belonged to a workstation I've already removed from the network 30-45 days ago.

On a side note, I've since upgraded the OS from WIN 7 to WIN 10.

Now, 24 hours later, I'm still able to ping the one workstation by the two different hostnames.  Is there something else I need to take a look at?  We do have some special vlans that live in our enviornment.  Is it possible that, maybe, the MAC of the PC got assigned on a vlan and is somehow associated to the old PC name - or is that really thin possibility?  Just tossing ideas around.

Thanks.
0
They are running a Server 2016 domain. It is the DNS (with forwarders). It is a problem with laptops that keep coming in to the building and then going out in to the world. They have a Terminal Server. I want to set the laptops to reference the url remote.company.com to get to the terminal server. In the building it is 192.168.0.3 but outside it is 75.75.67.89.

   The problem is that I don't want to set up a entire forward lookup zone on their local server because that messes up their hosting service, email and everything else when the laptop is in the building. I just want to create one dns entry for the terminal server. Long ago someone showed me how to do this. Not make a new zone but somehow add a host(a) to the local dns but I forgot how........
0
I would like to have some confirmation that I setup DNS scavenging correctly on my DNS server.  The DHCP lease duration is set 8 Days.  Under DNS Management, I right-clicked on the server and selected properties.  On the advanced tab, I enabled automatic scavenging of stale records and set the savenging period to 4 days.  I then righ-clicked on the server and selected "Set Aging / Scavenging for All Zones.."  I enabled the the scavenging of stale resource records and set the no-refresh interval to 4 days.  I set the refresh interval to 4 days.  Finally, I right-clicked on my forward lookup zone and selected properties.  I clicked on the Aging button on the general tab.  I enabled scavenging of stale resource records and set the no-refresh and refresh intervals to 4 days each.

Did I miss anything or is this correctly setup?
0
A user's gmail account in our Gsuite sends a spam message at the same time every day.

At 8:20am every morning an email is sent from the account to eight internal users @mydomain.com

The body of the message is empty and the title is 'jknkljn'.

I initially thought it was spoofing but I have SPF, DKIM and DMARC entries in my DNS. The emails also appear in Gmail 'Sent'.

I have change passwords and 2 step verification enabled.

And anti-virus scanned both clients.

Any help would be greatly appreciated?
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.