Does transferring a domain transfers DNS records?
Solution 1:
Generally, no. It's important to understand that the domain only references a nameserver; the DNS records aren't actually stored with the domain registration at all.
When you transfer a domain name, most gaining registrars will leave the nameserver associated with the domain unchanged, so your DNS records will keep working as long as your DNS does. If you are using an external DNS provider, you don't need to do anything else. But if your previous registrar also provided your DNS, now is a good time to manually copy your DNS records somewhere else.
The reason that a registrar can't automatically transfer your DNS records is because most DNS providers have zone transfers disabled. Without zone transfers, there's no way to know all of the subdomains you might have configured.
Solution 2:
No, this will only transfer your NS records.